Upgrade from OJS 2.3.5 to 3.1

hi
i upgrade OJS from 2.3.5 to 3.1 recently
but user’s Password not updated unfortunately
so my users couldn’t login to new OJS

please help me
thanks in advance

It is quite unusual that everything is upgraded except password. I would rather suspect that upgrade did not complete successfully.
Anyway, clear chace in your browser and try again.
You can tryu to execute on your server the following sql command:
UPDATE users SET password=SHA1(CONCAT(username,‘newPasswordHere’)) WHERE username=‘usernameHere’;

I just had a situation yesterday where one of our editors mailed me that she can not login to the system after upgrading to 3.1.0.1. The solution that worked was clearing the browser cache, as @vvucic suggested above. Not sure though what the cause was.

Hi @mbabaei,

Ensure that your PHP version is new enough (see docs/README for requirements), and that you haven’t inadvertently changed your encryption setting in config.inc.php during the upgrade.

Regards,
Alec Smecher
Public Knowledge Project Team

thanks of your answer
my problem occurred because in OJS2.3 i used Md5 hashing algorithm
but in OJS3.1 as default this option set to SHA1
after i changed this value all users could connect very well