diff --git a/services/user-management.service.ts b/services/user-management.service.ts index 2a1428db..807d8ca7 100644 --- a/services/user-management.service.ts +++ b/services/user-management.service.ts @@ -63,7 +63,7 @@ export class UserManagementService { user.id = (info.sub && info.sub.indexOf('@')) ? info.sub.substring(0, info.sub.indexOf('@')) : info.sub; user.firstname = (info.given_name) ? info.given_name : ""; user.lastname = (info.family_name) ? info.family_name : ""; - user.email = info.email; + user.email = info.email.toLowerCase(); // TODO remove, is a quick fix user.fullname = (info.name) ? info.name : ""; if (user.fullname == "") { if (user.firstname != "") {