- Issue created by @muriqui
- Merge request !74Change event_log_track_auth to track user logins via hook_user_login() rather... β (Open) created by muriqui
Login methods that bypass the user login form are not tracked by the event log. Examples:
drush uli
to generate a one-time login link.Expected result: There is a login event in the log.
Actual result: No login event is logged.
The problem occurs because event_log_track_auth is hooking into the user_login_form to detect logins. If it instead used hook_user_login()
, it should work for both standard logins through the form and for the exceptional cases noted above.
Active
4.0
Code