Is there a Drupal 8 hook for pre-login? I would like to redirect the login information of a user on a web server by URL.
I know there is
hook_user_login(), but this one only looks called once the user is connected to the database. I would like to retrieve the step before, so the login and password information.