mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 03:33:58 -05:00
LDAP auth use email if provided
This commit is contained in:
parent
72a0e90f7d
commit
3491f97f7e
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ if (config.ldap) {
|
|||
id: 'LDAP-' + user.uidNumber,
|
||||
username: user.uid,
|
||||
displayName: user.displayName,
|
||||
emails: [],
|
||||
emails: user.mail ? [user.mail] : [],
|
||||
avatarUrl: null,
|
||||
profileUrl: null,
|
||||
provider: 'ldap',
|
||||
|
|
Loading…
Reference in a new issue