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

Confirm account always goes to the list of courses, not dashboard or site homepage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0, 3.2.4, 3.3.1
    • Fix Version/s: 3.2.5, 3.3.2
    • Component/s: Authentication
    • Labels:
    • Testing Instructions:
      Hide
      1. Ensure that Email self-registration is enable.
      2. Set the default home page to Dashboard
      3. Create a new user account by filling in the signup form.
      4. Click the confirm link in the email.
      5. Click continue on the confirm page.
      6. Verify that you get to your new user's Dashboard.
      7. Repeat these steps with the default homepage set to Site, and ensure that you end up there.

      (Sorry, I can't work out how to Behat-test this.)

      Show
      Ensure that Email self-registration is enable. Set the default home page to Dashboard Create a new user account by filling in the signup form. Click the confirm link in the email. Click continue on the confirm page. Verify that you get to your new user's Dashboard. Repeat these steps with the default homepage set to Site, and ensure that you end up there. (Sorry, I can't work out how to Behat-test this.)
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When confirming a users account the user is redirected to wwwroot/

      From within wwwroot it will then attempt to redirect which can fail to redirect dynamically. A solution for this would be to determine the correct redirect location prior to the first redirect, this can be done with a simple modification on the confirm.php page

        Attachments

        1. 51827.png
          51827.png
          415 kB
        2. 51827_proposed.png
          51827_proposed.png
          392 kB

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Sep/17

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified