[email protected] 5 дней назад
Родитель
Сommit
6082af97fb
5 измененных файлов: 8 добавлений и 1 удалений
  1. +1
    -1
      src/pages/authentication/auth-forms/AuthLoginCustom.js
  2. +4
    -0
      src/pages/authentication/auth-forms/PasswordAlertDialog.js
  3. +1
    -0
      src/translations/en.json
  4. +1
    -0
      src/translations/zh-CN.json
  5. +1
    -0
      src/translations/zh-HK.json

+ 1
- 1
src/pages/authentication/auth-forms/AuthLoginCustom.js Просмотреть файл

@@ -115,7 +115,7 @@ const AuthLoginCustom = () => {
if (!isAccessTokenUsable(response.data.accessToken)) {
loginInFlightRef.current = false;
setOnLogin(false)
setErrorMassage("CONNECTION_ERROR")
setErrorMassage("LOGIN_TOKEN_ERROR")
setOpen(true)
return;
}


+ 4
- 0
src/pages/authentication/auth-forms/PasswordAlertDialog.js Просмотреть файл

@@ -48,6 +48,10 @@ const PasswordAlertDialog = (props) => {
<Typography display="inline">
<FormattedMessage id="loginErrorMessage4"/>
</Typography>:
props.errorMassage === 'LOGIN_TOKEN_ERROR' ?
<Typography display="inline">
<FormattedMessage id="loginErrorMessage8"/>
</Typography>:
props.errorMassage === 'PUBLIC_LOGIN_DISABLE' ?
<Typography display="inline">
<FormattedMessage id="loginErrorMessage7"/>


+ 1
- 0
src/translations/en.json Просмотреть файл

@@ -185,6 +185,7 @@
"loginErrorMessage5":"Incorrect Username or Password",
"loginErrorMessage6":"User account not found",
"loginErrorMessage7":"System is under maintenance, please check back later.",
"loginErrorMessage8":"Login could not be completed. Please try again.",

"pleaseLloginMessage1":"Account already registered",
"pleaseLloginMessage2":"The identity verified through iAM Smart is already linked to an existing account in this system. Please proceed to the login page to continue. You may sign in using your registered username and password, or login by iAM Smart. A new registration is not required.",


+ 1
- 0
src/translations/zh-CN.json Просмотреть файл

@@ -225,6 +225,7 @@
"loginErrorMessage5":"用户登入名称或密码错误",
"loginErrorMessage6":"找不到用户帐户",
"loginErrorMessage7":"系统正在维护中,请稍后再查看",
"loginErrorMessage8":"未能完成登入,请再试一次。",
"pleaseLloginMessage1":"账户已注册",
"pleaseLloginMessage2":"您通过「智方便」核实的身份已与本系统内的现有账户关联,无须重新注册。请前往登录页面;您可使用已登记的用户名称及密码登录,亦可选择以「智方便」方式登录。",


+ 1
- 0
src/translations/zh-HK.json Просмотреть файл

@@ -226,6 +226,7 @@
"loginErrorMessage5":"用戶名或密碼錯誤",
"loginErrorMessage6":"找不到用戶帳戶",
"loginErrorMessage7":"系統正在維護中,請稍後再查看",
"loginErrorMessage8":"未能完成登入,請再試一次。",

"pleaseLloginMessage1":"帳戶已註冊",
"pleaseLloginMessage2":"你透過「智方便」核實的身分已與本系統內的現有帳戶連結,無須重新註冊。請前往登入頁面;你可使用已登記的用戶名稱及密碼登入,亦可選擇以「智方便」方式登入。",


Загрузка…
Отмена
Сохранить