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

user_created/updated events not generated at login

    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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            mpetrowi Matt Petro added a comment -

            I must have attached the patch twice, they are the same file.

            Show
            mpetrowi Matt Petro added a comment - I must have attached the patch twice, they are the same file.
            Hide
            mpetrowi Matt Petro added a comment -

            New patch, this time against trunk

            Show
            mpetrowi Matt Petro added a comment - New patch, this time against trunk
            Hide
            skodak Petr Skoda added a comment -

            Hello,
            thanks for the report!! This should be fixed now, please test and reopen if necessary.

            Petr

            Show
            skodak Petr Skoda added a comment - Hello, thanks for the report!! This should be fixed now, please test and reopen if necessary. Petr

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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