[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
This commit is contained in:
k.triantafyllou 2021-03-04 11:58:44 +00:00
parent 391388f503
commit 7f9b8513cd
1 changed files with 1 additions and 1 deletions

View File

@ -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") {