From 7f9b8513cd29fa57b94dd3f2d62e3259f4a383d9 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Thu, 4 Mar 2021 11:58:44 +0000 Subject: [PATCH] [Library | Trunk]: Role verification: change email check to lower case git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60574 d315682c-612b-4755-9ff5-7f18f6832af3 --- role-verification/role-verification.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/role-verification/role-verification.component.ts b/role-verification/role-verification.component.ts index 9cf0e22c..ca6eb7a1 100644 --- a/role-verification/role-verification.component.ts +++ b/role-verification/role-verification.component.ts @@ -119,7 +119,7 @@ export class RoleVerificationComponent implements OnInit, OnDestroy { if (this.user) { this.subs.push(this.userRegistryService.getInvitation(params['verify']).subscribe(verification => { this.verification = verification; - if (this.user.email === this.verification.email && this.id === this.verification.entity && this.type === this.verification.type) { + if (this.user.email === this.verification.email.toLowerCase() && this.id === this.verification.entity && this.type === this.verification.type) { if (this.verification.verificationType === 'manager') { this.openManagerModal(); } else if (this.verification.verificationType === 'member' && this.service === "monitor") {