Moodle

Autologinguests not working when Login As Guest Button is hidden

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.8.1
  • Fix Version/s: None
  • Component/s: Authentication
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE

Description

To reproduce:

  • create a course allowing guest access with no password
  • in admin->Authentication, hide the Login as guest button
  • now logoff, then click on the above course to enter it as guest.
  • Moodle shows the login page.

If Login as guest button is is showed, autologingustes works correctly. Probably the correct behaviour should be:

Activity

Hide
Andrea Bicciolo added a comment -

Probably the correct behaviour should be:
1) if autologin is enabled and the course allows it, then autologin.
2) else, login page.

Show
Andrea Bicciolo added a comment - Probably the correct behaviour should be: 1) if autologin is enabled and the course allows it, then autologin. 2) else, login page.
Hide
Petr Škoda (skodak) added a comment -

In fact it was a major security issue to allow logins when guest button is hidden.
The guest login was intentionally disabled when the button is hidden, there is no other way to disable guest logins.

Show
Petr Škoda (skodak) added a comment - In fact it was a major security issue to allow logins when guest button is hidden. The guest login was intentionally disabled when the button is hidden, there is no other way to disable guest logins.
Hide
Nicolas Martignoni added a comment -

Closing per skodak comment.

Show
Nicolas Martignoni added a comment - Closing per skodak comment.

People

Dates

  • Created:
    Updated:
    Resolved: