Guest - login as guest not working

Guest - login as guest not working

by Moja Edukacja -
Number of replies: 2

Moodle up-to-date...


1.Administration > Site administration > Users > Permissions > User policies-enable auto guest login
2.Administration > Site administration > plugin > enrollment > -manage enrollment >-enable guest login
3.Administration > Site administration > plugin > enrollment > -guest enrollment >-Allow guest access select yes.

4. show guest button -> true

it is not working.. Invalid login or password when click on login as guest....

Trying this.....  

https://moodle.org/mod/forum/discuss.php?d=134099

no change, it didn't help


Please help... 

PS. what is default  guest hash password ?

Average of ratings: -
In reply to Moja Edukacja

Re: Guest - login as guest not working

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
The (non encrypted) password for the guest account is just 'guest', so you should be able to login using the normal login form with 'guest', 'guest'.

If that doesn't work then I really have to ask what you did to either change/delete the guest account in the user database or configure Moodle so that manual logins don't work?
Average of ratings: Useful (1)
In reply to Howard Miller

Re: Guest - login as guest not working

by Moja Edukacja -
using normal login form with guest/guest there is no error, just redirect to main homepage (just like visitors without using login form)
you can check this here https://mojaedukacja.pl
One course is guest access enabled (enrolment) so guest should view it, but can't sad https://mojaedukacja.pl/course/view.php?id=28 (get: This course is currently unavailable to students)

I'dont know what is going on....

either: change guest password (mysql) using md5 function + guest (plain text)... didn't help so back to previous hash .. the same with mnethostid .... no it is 1.... change it to 0 didn't help me....

guest item in table never deleted... no ideas what may be wrong
the category (course) is also enabled/visabled...