mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
Tweak login wording to let users know that email login works
This will reduce support requests
This commit is contained in:
committed by
Tienson Qin
parent
d419487445
commit
cbed7f7a19
@@ -9,6 +9,12 @@ export function LSAuthenticator({ termsLink, children }: any) {
|
||||
username: { order: 2 },
|
||||
password: { order: 3 },
|
||||
confirm_password: { order: 4 },
|
||||
},
|
||||
signIn: {
|
||||
username: {
|
||||
placeholder: 'Enter your Username or Email',
|
||||
label: 'Username or Email'
|
||||
}
|
||||
}
|
||||
}}
|
||||
loginMechanisms={['username']}
|
||||
|
||||
@@ -5,7 +5,6 @@ import { dict } from 'aws-amplify-react/lib-esm/AmplifyI18n'
|
||||
|
||||
// fix i18n
|
||||
dict.zh['Reset Password'] = '重置密码'
|
||||
dict.zh['Enter your username'] = '请输入用户名'
|
||||
dict.zh['Enter your email'] = '请输入邮箱'
|
||||
dict.zh['Enter your password'] = '请输入密码'
|
||||
dict.zh['Confirm Password'] = '确认密码'
|
||||
@@ -26,7 +25,7 @@ const fixesMapping = {
|
||||
'Forgot Password': ['Forgot your password?'],
|
||||
'Enter your email': ['Enter your Email'],
|
||||
'Enter your password': ['Enter your Password'],
|
||||
'Enter your username': ['Enter your Username']
|
||||
'Enter your username': ['Enter your Username or Email']
|
||||
}
|
||||
|
||||
Object.keys(dict).forEach((k) => {
|
||||
|
||||
Reference in New Issue
Block a user