Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit aa8a46e

Browse files
committed
Added code doc.
1 parent aed738b commit aa8a46e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/AdldapAuthUserProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ public function validateCredentials(Authenticatable $user, array $credentials)
8888
return parent::validateCredentials($user, $credentials);
8989
}
9090

91+
// We've already performed LDAP authentication on the user
92+
// and password synchronization is disabled, therefore
93+
// we can't validate the submitted password in our
94+
// local database. We'll return true here.
9195
return true;
9296
}
9397

0 commit comments

Comments
 (0)