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

enrol/index.php tries to send logged in user back to login page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.3, 3.5
    • Fix Version/s: None
    • Component/s: Course, Enrolments
    • Labels:
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE

      Description

      As noticed while testing MDL-62493, see comments there: https://tracker.moodle.org/browse/MDL-62493?focusedCommentId=622750&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-622750

      1. Create a course that does not have guest access and a user who is not enrolled in this course
      2. Log out
      3. Click on the course name, you will be redirected to the login page
      4. Login as a user who is not enrolled
      5. You will be redirected to enrol/index.php that says that you can not enrol yourself
      6. Click "Continue" - you will get an error that you are already logged in.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marina Marina Glancy
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: