Commit c0af4fb0 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Teste si le login existe dans l'annuaire LDAP !

parent fa9df0ed
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -40,11 +40,13 @@ class StorageAdapter extends PdoAdapter
            return parent::checkPassword($user, $password);
        }

        $user = $this->getUser($username);

        if ($user = $this->getUser($username)) {
            return $this->checkPassword($user, $password);
        }

        return false;
    }

    /**
     * Redéfinition.
     *