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

Incorrect redirect after clicking on forget password reset link from email

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • 3.1.2
    • Authentication
    • MySQL
    • MOODLE_31_STABLE
    • Hide

      In login/forgot_password.php at line 88 replace
      redirect($CFG->wwwroot . '/login/forgot_password.php');
      with
      redirect($CFG->httpswwwroot . '/login/forgot_password.php');

      Show
      In login/forgot_password.php at line 88 replace redirect($CFG->wwwroot . '/login/forgot_password.php'); with redirect($CFG->httpswwwroot . '/login/forgot_password.php');
    • Easy
    • Hide
      1. Enable loginhttps config setting.
      2. Go to login page, click the forgot password link
      3. Supply valid username or email address
      4. Check email inbox for that user & click link in email for password reset
      5. Check that you are redirected back to the 'Search by username/email' forget password page instead of set password form.
      Show
      Enable loginhttps config setting. Go to login page, click the forgot password link Supply valid username or email address Check email inbox for that user & click link in email for password reset Check that you are redirected back to the 'Search by username/email' forget password page instead of set password form.

      When the site using HTTPS for logins, If the user requested for a password reset and clicked on forget password link from the email received for reset password, login/forgot_password.php file redirects the user to an HTTP URL instead of HTTPS URL . The site then, because of the wrong URL redirects the user again to the 'Search by username/email' form instead of 'set password' form.

            Unassigned Unassigned
            pinky Pinky Sharma
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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