Projet

Général

Profil

Révision 05237dd8

Ajouté par Assos Assos il y a presque 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ldap/ldap_authentication/ldap_authentication.inc
81 81
  $auth_conf = ldap_authentication_get_valid_conf();
82 82
  if ($auth_conf && ldap_authentication_ldap_authenticated($form['#user'])) {
83 83
    if ($auth_conf->emailOption == LDAP_AUTHENTICATION_EMAIL_FIELD_REMOVE) {
84
      $form['account']['mail']['#type'] = 'hidden';
84
      $form['account']['mail']['#access'] = FALSE;
85 85
    }
86 86
    elseif ($auth_conf->emailOption == LDAP_AUTHENTICATION_EMAIL_FIELD_DISABLE) {
87 87
      $form['account']['mail']['#disabled'] = TRUE;

Formats disponibles : Unified diff