You are here

function ldap_authentication_init in Lightweight Directory Access Protocol (LDAP) 7.2

Implements hook_init().

File

ldap_authentication/ldap_authentication.module, line 217
This module injects itself into Drupal's Authentication stack.

Code

function ldap_authentication_init() {
  $auth_conf = ldap_authentication_get_valid_conf();
  if ($auth_conf && $auth_conf->templateUsagePromptUser) {
    ldap_authentication_check_for_email_template();
  }
}