No user can login

No user can login

by madjiid mugenyi -
Number of replies: 1

i kind of kicked my self out and every other user after i accidentally disabled  email based self registration under authentication methods.

like every other user on the system i always get a message of invalid login after inputting the correct username and password i had  been using for two months.

what can i do...please help

Average of ratings: -
In reply to madjiid mugenyi

Re: No user can login

by Ken Task -
Picture of Particularly helpful Moodlers

Edit config.php file and add a line:

$CFG->auth='manual,email';

No need to restart any service, just attempt to login.

Once logged on as an Admin level user, enable what you turned off.   Re-edit config.php and just comment out the line above by placing // in front of it.   Now looks like:

//$CFG->auth='manual,email';

Think I'd leave the line there for a while until you get the user authentication worked out for your site.

Note: always keep 2 users (at least) with 'manual' - two users that are admin levels.  You might want to create another account where you know the login/pass and set it to manual and admin levels.

'spirit of sharing', Ken

 



Average of ratings: Useful (1)