You are here

protected function UserAuthenticationController::userLoginFinalize in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/user/src/Controller/UserAuthenticationController.php \Drupal\user\Controller\UserAuthenticationController::userLoginFinalize()

Finalizes the user login.

Parameters

\Drupal\user\UserInterface $user: The user.

1 call to UserAuthenticationController::userLoginFinalize()
UserAuthenticationController::login in core/modules/user/src/Controller/UserAuthenticationController.php
Logs in a user.

File

core/modules/user/src/Controller/UserAuthenticationController.php, line 291

Class

UserAuthenticationController
Provides controllers for login, login status and logout via HTTP requests.

Namespace

Drupal\user\Controller

Code

protected function userLoginFinalize(UserInterface $user) {
  user_login_finalize($user);
}