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

Email-based self-registration confirmation email is not re-sent

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisite

      1. Log in as an admin.
      2. Set up the Outgoing mail configuration (Site administration > Server > Outgoing mail configuration)
        NOTE: To properly configure the outgoing email,  you will need to set up a local SMTP server using mailcatcher (https://mailcatcher.me/) or alternatively you can use Gmail's SMTP servers (https://docs.moodle.org/39/en/Email_setup_gmail).
      3. Go to Site administration > Plugins > Manage authentication.
        • Enable 'Email-based self-registration'.
        • Set 'Self registration' to 'Email-based self-registration'.
        • Save changes.
      4. Log out.

      Test

      1. Click 'Log in'.
      2. Click 'Create new account'.
      3. Fill in the necessary fields and click 'Create my new account'.
        • make sure you received a confirmation email.
      4. Do not visit the link in the email.
      5. Attempt to log in as the user.
        • make sure that you get a message saying you need to confirm your login.
        • confirm there is a button allowing you to request the email be sent again.
      6. Click on the 'Resend confirmation email' button.
        • Confirm you get a message saying the email was sent.
      7. Check your email
        • confirm another email was sent.
      8. Visit the link in the email.
        • Confirm your account has been confirmed.
      Show
      Prerequisite Log in as an admin. Set up the Outgoing mail configuration ( Site administration > Server > Outgoing mail configuration) NOTE: To properly configure the outgoing email,  you will need to set up a local SMTP server using mailcatcher ( https://mailcatcher.me/ ) or alternatively you can use Gmail's SMTP servers ( https://docs.moodle.org/39/en/Email_setup_gmail ). Go to Site administration > Plugins > Manage authentication . Enable ' Email-based self-registration '. Set ' Self registration ' to ' Email-based self-registration '. Save changes. Log out. Test Click ' Log in '. Click ' Create new account '. Fill in the necessary fields and click ' Create my new account '. make sure you received a confirmation email. Do not visit the link in the email. Attempt to log in as the user. make sure that you get a message saying you need to confirm your login. confirm there is a button allowing you to request the email be sent again. Click on the ' Resend confirmation email ' button. Confirm you get a message saying the email was sent. Check your email confirm another email was sent. Visit the link in the email. Confirm your account has been confirmed.
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_36_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Pull 3.8 Branch:
    • Pull 3.9 Branch:
    • Pull Master Branch:
      MDL-68178-master
    • Story Points:
      1
    • Sprint:
      4.0 holding pattern 3

      Description

      Using E-mail based self-registration.

      (Our Moodle-installations are used by medical centres sharing information. Because of the COVID-19 outbreak, users that want to resend the activation link, cannot do that, so that's why I bumped this up to critical).

      > User creates account
      > User receives confirmation e-mail but DOES NOT activate / click on the link in the e-mail
      > User logs in
      > User gets dialog to activate account or resend the activation mail
      > User presses button to resend the activation e-mail

      PROBLEM: second / reconfirmation email is not send.

      But when you go to admin/user.php and resend the confirmation from there (as admin), it works.

       

       

        Attachments

          Activity

            People

            Assignee:
            Geshoski Mihail Geshoski
            Reporter:
            jorritdeklerk Jorrit de Klerk
            Peer reviewer:
            Mathew May
            Integrator:
            Jun Pataleta
            Tester:
            Janelle Barcega
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            2 Vote for this issue
            Watchers:
            13 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Sep/20

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 42 minutes
                1h 42m