You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you habe defined an 'fields' array (I did it in my Laravel 4 config/auth.php file), then you need to explicity set a field 'username' => 'samaccountname',. Otherwise the lookup will file and fire an Undefined index: username error.
The function mentioned above should be re-written to
I have found a litte bug in the function
getAuthIdentifier
in the file LdapUser.php on Line 24If you habe defined an 'fields' array (I did it in my Laravel 4 config/auth.php file), then you need to explicity set a field
'username' => 'samaccountname',
. Otherwise the lookup will file and fire an Undefined index: username error.The function mentioned above should be re-written to
With this litte modification, the authication works fine, even if no username field is defiend.
The text was updated successfully, but these errors were encountered: