mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
corrections to received user
This commit is contained in:
parent
50924f8576
commit
6b0cca9929
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,8 @@ class PassportOpenIDConnect {
|
||||||
try {
|
try {
|
||||||
const received_user = {
|
const received_user = {
|
||||||
auth_id: profile.id,
|
auth_id: profile.id,
|
||||||
email: profile.emails[0].value,
|
email: profile.emails[0].value.toLowerCase(),
|
||||||
name: profile.name.givenName,
|
name: profile.name.displayName,
|
||||||
roles: []
|
roles: []
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue