Merge pull request #538 from ONLYOFFICE/bugfix/68853

bugfix/68853
This commit is contained in:
Ilya Oleshko 2024-07-03 16:15:47 +03:00 committed by GitHub
commit edb73e959c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View File

@ -133,8 +133,9 @@ const ConfirmRoute = ({
window.location.href = combineUrl(
window.ClientConfig?.proxy?.url,
path,
"/error",
"/error?messageKey=21",
);
break;
case ValidationResult.Expired:
console.error("expired link", {

View File

@ -46,4 +46,5 @@ export enum MessageKey {
"SsoAuthFailed",
"SsoAttributesNotFound",
"QuotaPaidUserLimitError",
"InvalidLink",
}

View File

@ -99,6 +99,8 @@ export const getMessageKeyTranslate = (t: TTranslation, message: string) => {
return t("Errors:SsoAttributesNotFound");
case "QuotaPaidUserLimitError":
return t("Common:QuotaPaidUserLimitError");
case "InvalidLink":
return t("Common:InvalidLink");
default:
return t("Common:Error");
}