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

Disabling "Require email verification" doesn't persist properly the first time

    XMLWordPrintable

Details

    • MOODLE_311_STABLE
    • MOODLE_311_STABLE
    • MDL-73256-311
    • Hide

      Set initial value to unchecked

      1. Navigate to Server > OAuth2 Services in site administration
      2. Create new Google service
      3. Enter anything for Client ID / Secret fields
      4. Ensure Require email verification is unchecked
      5. Press Save changes
      6. Edit the service you just created
      7. Confirm the Require email verification field is unchecked
      8. Check Require email verification and save changes
      9. Edit the service
      10. Confirm the Require email verification field is checked

      Set initial value to checked

      1. Navigate to Server > OAuth2 Services in site administration
      2. Create new Google service
      3. Enter anything for Client ID / Secret fields
      4. Ensure Require email verification is checked
      5. Press Save changes
      6. Edit the service you just created
      7. Confirm the Require email verification field is checked
      8. Uncheck Require email verification and save changes
      9. Edit the service
      10. Confirm the Require email verification field is unchecked
      Show
      Set initial value to unchecked Navigate to Server > OAuth2 Services in site administration Create new Google service Enter anything for Client ID / Secret fields Ensure Require email verification is unchecked Press Save changes Edit the service you just created Confirm the Require email verification field is unchecked Check Require email verification and save changes Edit the service Confirm the Require email verification field is checked Set initial value to checked Navigate to Server > OAuth2 Services in site administration Create new Google service Enter anything for Client ID / Secret fields Ensure Require email verification is checked Press Save changes Edit the service you just created Confirm the Require email verification field is checked Uncheck Require email verification and save changes Edit the service Confirm the Require email verification field is unchecked

    Description

      I found that when setting up OAuth2 with services such as Google, if you disable "Require email verification" and click "Save changes", the setting is still persisted with requireconfirmation set to 1. To clear it you have to subsequently open the settings again, clear the checkbox, and re-save.

      Attachments

        Activity

          People

            pholden Paul Holden
            ripalnathuji Ripal Nathuji
            Jake Dallimore Jake Dallimore
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Angelia Dela Cruz Angelia Dela Cruz
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              17/Jan/22

              Time Tracking

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