Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-74893

Auto-Login as Guest Doesn't Work Unless Button is Enabled

XMLWordPrintable

    • 1
    • Team Hedgehog 2023 Sprint 2.2, Team Hedgehog 2023 Sprint 2.3

      I'm attempting to selectively allow guest access to courses where guests can view the course homepage if not logged in, but are not prompted with the "log in as guest" button. (In other words, if guest access is enabled at the course level they can view the course, but if it's not enabled at the course level they are only given the option to log in). 

      Site Settings

      Users > User Policies > autologinguests: TRUE

      Plugins > Authentication > Manage authentication > guestloginbutton: FALSE

      Plugins > Enrolment > Manage enrol plugins > Guest access: ENABLED

      Course Settings

      Settings > Participants > Enrolment Methods > Guest access > Allow guest access: TRUE

       

      What I expect to happen

      The unauthenticated user is able to visit the course (either directly via URL or from the frontpage) and view the course page.

      What actually happens

      The user is prompted to log in.

      Workaround

      The issue does not occur and the expected behavior occurs if the guestloginbutton setting is set to TRUE.

            ara Anders Rasmussen
            johnfleischauer John Fleischauer
            Raquel Ortega Raquel Ortega
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 32 minutes
                4h 32m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.