diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 5f9daa0..38112ec 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -1201,10 +1201,11 @@ function user_authenticate($name, $password) { } /** - * Finalize the login process. Must be called when logging in a user. + * Finalizes the login process and logs in a user. * - * The function records a watchdog message about the new session, saves the - * login timestamp, calls hook_user_login(), and generates a new session. + * The function logs in the user, records a watchdog message about the new + * session, saves the login timestamp, calls hook_user_login(), and generates a + * new session. * * @param \Drupal\Core\Session\AccountInterface $account * The account to log in.