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

Commit c5a3605

Browse files
committed
Use distinguished name as default LDAP auth attribute
1 parent 48690b0 commit c5a3605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resolvers/UserResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function getLdapDiscoveryAttribute()
147147
*/
148148
public function getLdapAuthAttribute()
149149
{
150-
return Config::get('adldap_auth.usernames.ldap.authenticate', 'userprincipalname');
150+
return Config::get('adldap_auth.usernames.ldap.authenticate', 'dn');
151151
}
152152

153153
/**

0 commit comments

Comments
 (0)