Cannot change passwords after site migration

By pgplast - December 4, 2022


This is not just a problem with old migrated accounts, but also with new ones in on the new server.

When new userts sign up and are taken to the profile page, they cannot update their passwords.

By Dave - December 7, 2022

Hi pgplast, 

I emailed as well but for anyone else with this issue in future here's the fix: 

I replaced this line:
$encryptPasswords = @$SETTINGS['advanced']['encryptPasswords'];

With this:
//$encryptPasswords = @$SETTINGS['advanced']['encryptPasswords'];
$encryptPasswords = true;

It was using an old version of the edit profile page code from when CMSB had the option to disable password encryption. It's always enabled now so we no longer check for it.

Hope that helps! Let me know any other questions or issues.

Dave Edis - Senior Developer

By pgplast - December 16, 2022

Thanks for this, Dave. (Respomnded earlier by email)