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

"Continue as guest" button shows when already logged in as guest and being redirected to login page

XMLWordPrintable

      The code has the clear intent that it shouldn't show the button to guests, but it's written using the "and" operator and isn't working correctly with operator precedence. Adding parentheses or using the "&&" operator will fix the issue. See https://stackoverflow.com/a/2803576/2314

      Simple fix at https://github.com/Genealogical-Studies/moodle/tree/fix_guest_login

            pholden Paul Holden
            tgmayfield Thomas G Mayfield
            Luca Bösch Luca Bösch
            Ilya Tregubov Ilya Tregubov
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 55 minutes
                55m

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