enabled the hard-coded admin account and now we are unable to login, disable Advanced Settings → “Encrypt user names and passwords”. and we can log in with the admin account.
// Security
“ENCRYPTION_ENABLED” => TRUE, // Encryption enabled
“ADMIN_USER_NAME” => “encrypted data”, // Administrator user name
“ADMIN_PASSWORD” => “encrypted data”, // Administrator password
encryption key for data protection is set, is there something that was missed ?
Make sure you have already re-generated ALL the script files, and try again.
Hi,
i did, same issue… then I when I checked thru the login user_logging in, i had code that checked the username if it was the hard-coded administrator… but since the new encryption feature, i didn’t update the code to decrypt it so the compare was failing and exiting out as false…
added code to check if its encrypted and decrypt if so… all good
Please post your setting as follows:
- Security → Advanced → User Login Options → Password:
- Hashed pasword (enabled or disabled?)
- Case-sensitive password (enabled or disabled?)
- Tools → Advanced Settings:
- Use password hash (enabled or disabled?)
Its working, i found the problem.
That would be better if you post what the problem is, so others could learn from your case.