LDAP mailTag fix
This commit is contained in:
parent
6beac55826
commit
de15ba15da
1 changed files with 3 additions and 3 deletions
|
@ -187,9 +187,9 @@ if (LdapStrategy) {
|
|||
|
||||
return {
|
||||
id: user.id,
|
||||
username: user.username,
|
||||
username: profile[config.ldap.uidTag],
|
||||
name: profile[config.ldap.nameTag],
|
||||
email: profile.mail,
|
||||
email: profile[config.ldap.mailTag],
|
||||
role: user.role
|
||||
};
|
||||
|
||||
|
@ -205,7 +205,7 @@ if (LdapStrategy) {
|
|||
id: userId,
|
||||
username: profile[config.ldap.uidTag],
|
||||
name: profile[config.ldap.nameTag],
|
||||
email: profile.mail,
|
||||
email: profile[config.ldap.mailTag],
|
||||
role: config.ldap.newUserRole
|
||||
};
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue