add option to prompt for a validation password when initializing admin user (#2302)

This commit is contained in:
Chenhe Gu 2024-02-01 15:03:56 +08:00 • committed by GitHub
commit 09acf215f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 210 additions and 12 deletions

View file

@ -9,7 +9,7 @@ const translation = {
namePlaceholder: 'Your username',
forget: 'Forgot your password?',
signBtn: 'Sign in',
installBtn: 'Setting',
installBtn: 'Set up',
setAdminAccount: 'Setting up an admin account',
setAdminAccountDesc: 'Maximum privileges for admin account, which can be used to create applications and manage LLM providers, etc.',
createAndSignIn: 'Create and sign in',
@ -32,7 +32,7 @@ const translation = {
tosDesc: 'By signing up, you agree to our',
donthave: 'Don\'t have?',
invalidInvitationCode: 'Invalid invitation code',
accountAlreadyInited: 'Account already inited',
accountAlreadyInited: 'Account already initialized',
error: {
emailEmpty: 'Email address is required',
emailInValid: 'Please enter a valid email address',
@ -51,7 +51,9 @@ const translation = {
explore: 'Explore Dify',
activatedTipStart: 'You have joined the',
activatedTipEnd: 'team',
activated: 'Sign In Now',
activated: 'Sign in now',
adminInitPassword: 'Admin initialization password',
validate: 'Validate',
}
export default translation

View file

@ -52,6 +52,8 @@ const translation = {
activatedTipStart: '您已加入',
activatedTipEnd: '团队',
activated: '现在登录',
adminInitPassword: '管理员初始化密码',
validate: '验证',
}
export default translation