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: {
|
session: {
|
||||||
not_found: '未找到会话。请返回并重新登录。',
|
not_found: '未找到会话。请返回并重新登录。',
|
||||||
invalid_credentials: '用户名或密码错误,请检查你的输入。',
|
invalid_credentials: '无效的密码,请检查你的输入。',
|
||||||
invalid_sign_in_method: '当前登录方式不可用',
|
invalid_sign_in_method: '当前登录方式不可用',
|
||||||
invalid_connector_id: '找不到 ID 为 {{connectorId}} 的可用连接器。',
|
invalid_connector_id: '找不到 ID 为 {{connectorId}} 的可用连接器。',
|
||||||
insufficient_info: '登录信息缺失,请检查你的输入。',
|
insufficient_info: '登录信息缺失,请检查你的输入。',
|
||||||
|
|
|
@ -18,7 +18,6 @@ const EmailOrPhone = () => {
|
||||||
<SecondaryPageWrapper
|
<SecondaryPageWrapper
|
||||||
title="description.link_email_or_phone"
|
title="description.link_email_or_phone"
|
||||||
description="description.link_email_or_phone_description"
|
description="description.link_email_or_phone_description"
|
||||||
notification="description.continue_with_more_information"
|
|
||||||
>
|
>
|
||||||
<EmailContinue autoFocus hasSwitch />
|
<EmailContinue autoFocus hasSwitch />
|
||||||
</SecondaryPageWrapper>
|
</SecondaryPageWrapper>
|
||||||
|
@ -30,7 +29,6 @@ const EmailOrPhone = () => {
|
||||||
<SecondaryPageWrapper
|
<SecondaryPageWrapper
|
||||||
title="description.link_email_or_phone"
|
title="description.link_email_or_phone"
|
||||||
description="description.link_email_or_phone_description"
|
description="description.link_email_or_phone_description"
|
||||||
notification="description.continue_with_more_information"
|
|
||||||
>
|
>
|
||||||
<SmsContinue autoFocus hasSwitch />
|
<SmsContinue autoFocus hasSwitch />
|
||||||
</SecondaryPageWrapper>
|
</SecondaryPageWrapper>
|
||||||
|
|
|
@ -5,7 +5,6 @@ const SetEmail = () => (
|
||||||
<SecondaryPageWrapper
|
<SecondaryPageWrapper
|
||||||
title="description.link_email"
|
title="description.link_email"
|
||||||
description="description.link_email_description"
|
description="description.link_email_description"
|
||||||
notification="description.continue_with_more_information"
|
|
||||||
>
|
>
|
||||||
<EmailContinue autoFocus />
|
<EmailContinue autoFocus />
|
||||||
</SecondaryPageWrapper>
|
</SecondaryPageWrapper>
|
||||||
|
|
|
@ -7,10 +7,7 @@ const SetPassword = () => {
|
||||||
const { setPassword } = useSetPassword();
|
const { setPassword } = useSetPassword();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SecondaryPageWrapper
|
<SecondaryPageWrapper title="description.set_password">
|
||||||
title="description.set_password"
|
|
||||||
notification="description.continue_with_more_information"
|
|
||||||
>
|
|
||||||
<SetPasswordForm autoFocus onSubmit={setPassword} />
|
<SetPasswordForm autoFocus onSubmit={setPassword} />
|
||||||
</SecondaryPageWrapper>
|
</SecondaryPageWrapper>
|
||||||
);
|
);
|
||||||
|
|
|
@ -6,7 +6,6 @@ const SetPhone = () => {
|
||||||
<SecondaryPageWrapper
|
<SecondaryPageWrapper
|
||||||
title="description.link_phone"
|
title="description.link_phone"
|
||||||
description="description.link_phone_description"
|
description="description.link_phone_description"
|
||||||
notification="description.continue_with_more_information"
|
|
||||||
>
|
>
|
||||||
<SmsContinue autoFocus />
|
<SmsContinue autoFocus />
|
||||||
</SecondaryPageWrapper>
|
</SecondaryPageWrapper>
|
||||||
|
|
|
@ -5,7 +5,6 @@ const SetUsername = () => (
|
||||||
<SecondaryPageWrapper
|
<SecondaryPageWrapper
|
||||||
title="description.enter_username"
|
title="description.enter_username"
|
||||||
description="description.enter_username_description"
|
description="description.enter_username_description"
|
||||||
notification="description.continue_with_more_information"
|
|
||||||
>
|
>
|
||||||
<SetUsernameForm />
|
<SetUsernameForm />
|
||||||
</SecondaryPageWrapper>
|
</SecondaryPageWrapper>
|
||||||
|
|
Loading…
Reference in a new issue