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

Commit 291eb3b

Browse files
committed
Small doc tweak.
1 parent aa349a6 commit 291eb3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Auth/DatabaseUserProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ public function retrieveByCredentials(array $credentials)
125125
*/
126126
public function validateCredentials(Authenticatable $model, array $credentials)
127127
{
128+
// We'll check if we have an LDAP user, and then make sure
129+
// they pass authentication before going further.
128130
if (
129131
$this->user instanceof User &&
130132
$this->getResolver()->authenticate($this->user, $credentials)

0 commit comments

Comments
 (0)