Manual:Hooks/UserLoginComplete

Details

 * : the  object that was created on login
 * : HTML to inject after the login success message
 * : The hook is called directly after a successful login. This will only happen once per login. A UserLoginComplete call with direct=false can happen when the user visits the login page while already logged in.

This hook won't be called for API logins and is only intended for display purposes. Use the hook or an  provider's  method for running backend logic on login.