You are here

function ldap_user_user_login in Lightweight Directory Access Protocol (LDAP) 8.4

Same name and namespace in other branches
  1. 8.2 ldap_user/ldap_user.module \ldap_user_user_login()
  2. 8.3 ldap_user/ldap_user.module \ldap_user_user_login()
  3. 7.2 ldap_user/ldap_user.module \ldap_user_user_login()

Implements hook_user_login().

File

ldap_user/ldap_user.module, line 93

Code

function ldap_user_user_login($account) {

  /** @var \Drupal\ldap_user\Processor\DrupalUserProcessor $processor */
  $processor = \Drupal::service('ldap.drupal_user_processor');
  $processor
    ->drupalUserLogsIn($account);
}