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

Commit 43519f5

Browse files
committed
Small comment addition
1 parent f7dcad7 commit 43519f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AdldapAuthUserProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ protected function syncModelFromAdldap(User $user, Authenticatable $model)
137137
$adValue = $user->{$adField};
138138

139139
if(is_array($adValue)) {
140+
// If the AD Value is an array, we'll
141+
// retrieve the first value.
140142
$adValue = Arr::get($adValue, 0);
141143
}
142144

0 commit comments

Comments
 (0)