Admin login not working after migration


I’ve migrated from to 3.1.1 and can’t login using the admin account. On my existing it works fine, but on the new version in a test machine it does not. It just tells me “Invalid username or password. Please try again.”

The new machine has

Server type: MariaDB 10.1.32
Web server: Apache/2.4.33 (Win32) OpenSSL/1.1.0h PHP/7.2.5

I read previous treads and checked that the password field length is 255, so I am not sure what else to do. Your help will be much appreciated!

Hi @Lolekbolek,

Are you sure you didn’t accidentally change the encryption setting in during the upgrade?

Alec Smecher
Public Knowledge Project Team

1 Like

Wow, thank you Alec!

Right on! The old (existing) had encryption = md5, while the new one has sha1. Changed it to md5 and voila, can login just fine!

Thanks again!