lowercase email to match the mongo user key

This commit is contained in:
C. Fuhrman 2025-03-04 15:54:14 -05:00
parent 06797822b0
commit e817746801

View file

@ -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: []
};