mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
a724bb8fae
If an existing session is active at the time of launch, that user id appears in the user_updated log. This log should show the launching user updating their own record, not someone else. To resolve this, auth the user before making any record updates so that the event gets the correct user id.