Projet

Général

Profil

Révision be58a50c

Ajouté par Assos Assos il y a environ 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ldap/ldap_authentication/ldap_authentication.inc
659 659
        */
660 660
      $credentials_pass = (boolean)($ldap_user);
661 661
    }
662
    elseif ($ldap_server->bind_method == LDAP_SERVERS_BIND_METHOD_USER) {
663
       /**
664
        * With user bind method, the only way we can reach this part of the
665
        * code is when the pw has already been checked and $ldap_user could be
666
        * loaded, so we're good to go.
667
        */
668
      $credentials_pass = true;
669
    }
662 670
    else {
663 671
      $credentials_pass = ($ldap_server->bind($ldap_user['dn'], $password, FALSE) == LDAP_SUCCESS);
664 672
    }

Formats disponibles : Unified diff