Change message in role verification

This commit is contained in:
Konstantinos Triantafyllou 2022-12-12 19:01:05 +02:00
parent 6ca864d376
commit 06f2f586a8
1 changed files with 3 additions and 2 deletions

View File

@ -64,7 +64,8 @@ import {Composer} from "../utils/email/composer";
<div>
We are unable to process the request. What happened?
<ul class="uk-margin-top uk-list uk-list-circle uk-list-primary">
<li>You are logged in with <a [routerLink]="[userInfoLinkPrefix + '/user-info']" (click)="errorModal.cancel()">a different email</a>, than the one you have received the invitation.</li>
<li>You are logged in with a different email, than the one you have received the invitation.
Check <a [routerLink]="[userInfoLinkPrefix + '/user-info']" (click)="errorModal.cancel()">here</a> the email of your account.</li>
<li>The invitation has been canceled.</li>
<li>The URL is invalid.</li>
</ul>
@ -182,7 +183,7 @@ export class RoleVerificationComponent implements OnInit, OnDestroy, AfterViewIn
this.error = null;
this.errorModal.cancelButton = false;
this.errorModal.okButtonText = 'Ok';
this.errorModal.alertTitle = 'Invalid request';
this.errorModal.alertTitle = 'Invalid URL';
this.errorModal.open();
}