mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
lowercase email to match the mongo user key
This commit is contained in:
parent
06797822b0
commit
e817746801
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class PassportOpenIDConnect {
|
|||
try {
|
||||
const received_user = {
|
||||
auth_id: profile.id,
|
||||
email: profile.emails[0].value,
|
||||
email: profile.emails[0].value.toLowerCase(),
|
||||
name: profile.displayName,
|
||||
roles: []
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue