commit
edb73e959c
@ -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", {
|
||||
|
@ -46,4 +46,5 @@ export enum MessageKey {
|
||||
"SsoAuthFailed",
|
||||
"SsoAttributesNotFound",
|
||||
"QuotaPaidUserLimitError",
|
||||
"InvalidLink",
|
||||
}
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user