mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
fix(ui): bug bash fix (#2558)
This commit is contained in:
parent
19fb2827c7
commit
763d513a95
6 changed files with 2 additions and 10 deletions
|
@ -62,7 +62,7 @@ const errors = {
|
|||
},
|
||||
session: {
|
||||
not_found: '未找到会话。请返回并重新登录。',
|
||||
invalid_credentials: '用户名或密码错误,请检查你的输入。',
|
||||
invalid_credentials: '无效的密码,请检查你的输入。',
|
||||
invalid_sign_in_method: '当前登录方式不可用',
|
||||
invalid_connector_id: '找不到 ID 为 {{connectorId}} 的可用连接器。',
|
||||
insufficient_info: '登录信息缺失,请检查你的输入。',
|
||||
|
|
|
@ -18,7 +18,6 @@ const EmailOrPhone = () => {
|
|||
<SecondaryPageWrapper
|
||||
title="description.link_email_or_phone"
|
||||
description="description.link_email_or_phone_description"
|
||||
notification="description.continue_with_more_information"
|
||||
>
|
||||
<EmailContinue autoFocus hasSwitch />
|
||||
</SecondaryPageWrapper>
|
||||
|
@ -30,7 +29,6 @@ const EmailOrPhone = () => {
|
|||
<SecondaryPageWrapper
|
||||
title="description.link_email_or_phone"
|
||||
description="description.link_email_or_phone_description"
|
||||
notification="description.continue_with_more_information"
|
||||
>
|
||||
<SmsContinue autoFocus hasSwitch />
|
||||
</SecondaryPageWrapper>
|
||||
|
|
|
@ -5,7 +5,6 @@ const SetEmail = () => (
|
|||
<SecondaryPageWrapper
|
||||
title="description.link_email"
|
||||
description="description.link_email_description"
|
||||
notification="description.continue_with_more_information"
|
||||
>
|
||||
<EmailContinue autoFocus />
|
||||
</SecondaryPageWrapper>
|
||||
|
|
|
@ -7,10 +7,7 @@ const SetPassword = () => {
|
|||
const { setPassword } = useSetPassword();
|
||||
|
||||
return (
|
||||
<SecondaryPageWrapper
|
||||
title="description.set_password"
|
||||
notification="description.continue_with_more_information"
|
||||
>
|
||||
<SecondaryPageWrapper title="description.set_password">
|
||||
<SetPasswordForm autoFocus onSubmit={setPassword} />
|
||||
</SecondaryPageWrapper>
|
||||
);
|
||||
|
|
|
@ -6,7 +6,6 @@ const SetPhone = () => {
|
|||
<SecondaryPageWrapper
|
||||
title="description.link_phone"
|
||||
description="description.link_phone_description"
|
||||
notification="description.continue_with_more_information"
|
||||
>
|
||||
<SmsContinue autoFocus />
|
||||
</SecondaryPageWrapper>
|
||||
|
|
|
@ -5,7 +5,6 @@ const SetUsername = () => (
|
|||
<SecondaryPageWrapper
|
||||
title="description.enter_username"
|
||||
description="description.enter_username_description"
|
||||
notification="description.continue_with_more_information"
|
||||
>
|
||||
<SetUsernameForm />
|
||||
</SecondaryPageWrapper>
|
||||
|
|
Loading…
Reference in a new issue