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

user_created/updated events not generated at login

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: Authentication, Events API
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Authentication plugins that rely on authenticate_user_login() in moodlelib.php to create/update users don't generate user_created and user_updated events. In particular, shibboleth and ldap auth have this problem.

      I've attached a patch that has been tested to work correctly with shibboleth and should be fine with other plugins as well as I don't think there is any difference at this level.

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              mpetrowi Matt Petro
              Tester:
              Nobody
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta, Ryan Wyllie, Jake Dallimore, Jun Pataleta, Ryan Wyllie
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Dec/10