2008-08-22 17:35:51
Cannot login after upgrade to 161
After upgrading to 1.6.1, I cannot login with any account (admin or not). When I try to create a new account, I apparently have to have a pin (which I do not recall setting up in the past).
When I debug the code in the login.php script, I see the encrypted password changes and subsequently does not match the encrypted password stored in the database.
For example, I cleared out the admin password and encrypted a blank password with SHA1. When I look at the value for the password that is queried, it changes.
The following are all blank password values that were generated by the login.php script when I attempted to login:
ec531bd3a34201befa6a88e0e8c08e919fa1eb14
ef40834bbb8bcd36cffef61240491895fef557b2
530bf138e8512976ddacca1546b5cfa4c0c1829c
09464b367c345a53f056413398fa61eb1a765b83
This is an example of the SQL generated to check the admin table for my admin account with a blank password:
SELECT login, `privileges`, language FROM AT_admins WHERE login='admin' AND password='09464b367c345a53f056413398fa61eb1a765b83' AND `privileges`>0
How can I successfully login if the encrypted values of the password keep changing? Can I turn the encryption off?
Thanks in advance for your help!