Login error in version 3.5

Login Error in Version 3.5

After migrating from 3.4 to 3.5, logging in with the correct username and password is not working.

It appears the password encryption has changed in the new version. Is there any way to migrate the password?

Hi,

Check the config file and look for the [security] section. Try switching the setting (e.g., from sha1 to md5 or vice versa).

In the configuration file in both version 3.4 and 3.5 it is set to sha1.
In version 3.4 I was using PHP 8.0 and in OJS version 3.5 with PHP version 8.2.
I re-hashed the password and it was corrected.

This is interesting.

Did you do it inside mysql or does OJS have a functionality for this?

It was a combination of PHP code and updating a hash in the database.