Roundcube Community Forum

Release Support => Pending Issues => Topic started by: auser on March 10, 2023, 05:21:51 PM

Title: Don't force new users to change their password
Post by: auser on March 10, 2023, 05:21:51 PM
Hi all, I'm running an iRedMail server using Roundcube webmail.  Currently new using are prompted to change their password upon first logging in to webmail, but I'd like to disable this feature.

Here's the relevant (I think) portion of /opt/www/roundcubemail-1.4.11/plugins/password/config.inc.php .

Code: [Select]
// Enables forcing new users to change their password at their first login.
$config['password_force_new_user'] = false;

I have tried setting it to 'force', 'false', and 'true' but it doesn't seem to make any difference.  Perhaps there is another setting I need to change?

Also, after changing the config, do the changes go into effect immediately or do I need to restart nginx or another service?

Any insight would be appreciated.  Thank you!
Title: Re: Don't force new users to change their password
Post by: Dmitry42 on March 10, 2023, 11:22:45 PM
Check your RC config - here is 'password plugin' enabled ?

Quote
Also, after changing the config, do the changes go into effect immediately or do I need to restart nginx or another service?

Immediately - just reload page.
Title: Re: Don't force new users to change their password
Post by: auser on March 13, 2023, 12:03:12 PM
Yes, the 'password' plugin was enabled, but as it turns out so was the 'force_password_change' plugin.  I removed that and now it's working fine.  Thanks for pointing me in the right direction!