fix: login security issue frontend (#25571)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
c2fcd2895b
commit
394b0ac9c0
16 changed files with 521 additions and 36 deletions
|
|
@ -1,6 +1,6 @@
|
|||
const translation = {
|
||||
pageTitle: 'Hey, let\'s get started!',
|
||||
welcome: '👋 Welcome to Dify, please log in to continue.',
|
||||
pageTitle: 'Log in to Dify',
|
||||
welcome: '👋 Welcome! Please log in to get started.',
|
||||
email: 'Email address',
|
||||
emailPlaceholder: 'Your email',
|
||||
password: 'Password',
|
||||
|
|
@ -62,6 +62,7 @@ const translation = {
|
|||
passwordLengthInValid: 'Password must be at least 8 characters',
|
||||
passwordInvalid: 'Password must contain letters and numbers, and the length must be greater than 8',
|
||||
registrationNotAllowed: 'Account not found. Please contact the system admin to register.',
|
||||
invalidEmailOrPassword: 'Invalid email or password.',
|
||||
},
|
||||
license: {
|
||||
tip: 'Before starting Dify Community Edition, read the GitHub',
|
||||
|
|
@ -110,6 +111,15 @@ const translation = {
|
|||
noLoginMethodTip: 'Please contact the system admin to add an authentication method.',
|
||||
disabled: 'Webapp authentication is disabled. Please contact the system admin to enable it. You can try to use the app directly.',
|
||||
},
|
||||
signup: {
|
||||
noAccount: 'Don’t have an account? ',
|
||||
signUp: 'Sign Up',
|
||||
createAccount: 'Create your account',
|
||||
welcome: '👋 Welcome! Please fill in the details to get started.',
|
||||
verifyMail: 'Continue with verification code',
|
||||
haveAccount: 'Already have an account? ',
|
||||
signIn: 'Sign In',
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
const translation = {
|
||||
pageTitle: 'はじめましょう!👋',
|
||||
welcome: 'Dify へようこそ。続行するにはログインしてください。',
|
||||
pageTitle: 'Dify にログイン',
|
||||
welcome: '👋 ようこそ!まずはログインしてご利用ください。',
|
||||
email: 'メールアドレス',
|
||||
emailPlaceholder: 'メールアドレスを入力してください',
|
||||
password: 'パスワード',
|
||||
|
|
@ -92,7 +92,7 @@ const translation = {
|
|||
withSSO: 'SSO を続行する',
|
||||
noLoginMethod: '認証方法が構成されていません',
|
||||
backToLogin: 'ログインに戻る',
|
||||
continueWithCode: 'コードで続行',
|
||||
continueWithCode: '認証コードで続行',
|
||||
noLoginMethodTip: 'システム管理者に連絡して、認証方法を追加してください。',
|
||||
usePassword: 'パスワードを使用',
|
||||
sendVerificationCode: '確認コードの送信',
|
||||
|
|
@ -110,6 +110,15 @@ const translation = {
|
|||
noLoginMethodTip: 'システム管理者に連絡して、認証方法を追加してください。',
|
||||
disabled: 'Web アプリの認証が無効になっています。システム管理者に連絡して有効にしてください。直接アプリを使用してみてください。',
|
||||
},
|
||||
signup: {
|
||||
noAccount: 'アカウントをお持ちでないですか?',
|
||||
signUp: '新規登録',
|
||||
createAccount: 'アカウントを作成',
|
||||
welcome: '👋 ようこそ!ご利用を始めるために必要な情報をご入力ください。',
|
||||
verifyMail: '認証コードで続行',
|
||||
haveAccount: 'すでにアカウントをお持ちですか?',
|
||||
signIn: 'ログインはこちら',
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
const translation = {
|
||||
pageTitle: '嗨,近来可好',
|
||||
welcome: '👋 欢迎来到 Dify, 登录以继续',
|
||||
pageTitle: '登录 Dify',
|
||||
welcome: '👋 欢迎!请登录以开始使用。',
|
||||
email: '邮箱',
|
||||
emailPlaceholder: '输入邮箱地址',
|
||||
password: '密码',
|
||||
|
|
@ -62,6 +62,7 @@ const translation = {
|
|||
passwordInvalid: '密码必须包含字母和数字,且长度不小于 8 位',
|
||||
passwordLengthInValid: '密码必须至少为 8 个字符',
|
||||
registrationNotAllowed: '账户不存在,请联系系统管理员注册账户',
|
||||
invalidEmailOrPassword: '邮箱或密码错误',
|
||||
},
|
||||
license: {
|
||||
tip: '启动 Dify 社区版之前,请阅读 GitHub 上的',
|
||||
|
|
@ -110,6 +111,15 @@ const translation = {
|
|||
noLoginMethodTip: '请联系系统管理员添加身份认证方式',
|
||||
disabled: 'Web 应用身份认证已禁用,请联系系统管理员启用。您也可以尝试直接使用应用。',
|
||||
},
|
||||
signup: {
|
||||
noAccount: '没有账户?',
|
||||
signUp: '立即注册',
|
||||
createAccount: '创建您的账户',
|
||||
welcome: '👋 欢迎!请填写信息以开始使用。',
|
||||
verifyMail: '发送验证码',
|
||||
haveAccount: '已有账户?',
|
||||
signIn: '立即登录',
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue