I keep getting the error message below when I try to login as an admin. The first message is from Site Administration -> report -> logs ***
Login failed for the username 'admin' for the reason with id '3'.
This one is from the logs table in the DB:
Below are the reason ids. Reason id 3 means "Can not login, most probably password did not match. ".
/** Login attempt successful. */
/** Can not login because user does not exist. */
/** Can not login because user is suspended. */
/** Can not login, most probably password did not match. */
/** Can not login because user is locked out. */
/** Can not login becauser user is not authorised. */
I have a suspicion that whatever the problem is, its related to my logins into the moodle mobile app that I was customizing. I normally login into the app using the admin username and password. But now, I cant use those login details anymore - even if I reset them - yet other credentials work.
Is there anyone who can assist with this? I know I'm putting the right username and password, and I keep getting the same error message.
Funny thing is, this is only happening in my dev environment, not in production. In production, same username and password work perfectly, but in dev, they dont work.
Even after importing the same database from production to dev!