changed invitation email error response

This commit is contained in:
Sofia Papacharalampous 2024-06-06 13:48:23 +03:00
parent 80b3b9169c
commit 26335b9e85
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ export class MergeEmailConfirmation extends BaseComponent implements OnInit {
onCallbackError(errorResponse: HttpErrorResponse) {
const errorOverrides = new Map<number, string>();
errorOverrides.set(302, this.language.instant('EMAIL-CONFIRMATION.EMAIL-FOUND'));
errorOverrides.set(-1, this.language.instant('EMAIL-CONFIRMATION.EXPIRED-EMAIL'));
errorOverrides.set(403, this.language.instant('EMAIL-CONFIRMATION.EXPIRED-EMAIL'));
this.httpErrorHandlingService.handleBackedRequestError(errorResponse, errorOverrides, SnackBarNotificationLevel.Error)
const error: HttpError = this.httpErrorHandlingService.getError(errorResponse);

View File

@ -257,7 +257,7 @@
"POLICY": "Cookies Policy"
},
"EMAIL-CONFIRMATION": {
"EXPIRED-EMAIL": "Mail invitation expired",
"EXPIRED-EMAIL": "Your mail invitation has expired, or you are not logged in with the correct account.",
"EMAIL-FOUND": "Email is already confirmed"
},
"HOME": {