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

auth/db should reset email when undeleting users

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      moodle's delete_user function sets the email address to '' (used to be email || '.disabled') but in auth/db when users are undeleted it doesn't get reset. Not a huge problem as it'll get reset on next login (assuming the field is set to update on login as well as creation) but there could be try to email stuff to them in between account undeletion & email resetting on n ext login.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              mjollnir Penny Leach
              Tester:
              Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: