mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
feat: add "forget password" [front & backend] (#75)
* feat: add "forget password" [front & backend] Signed-off-by: Weihao <1340908470@qq.com> * fix: verification code can be sent even if no mobile phone or email is selected refactor: forgetPassword -> forget; GetEmailAndPhoneByUsername -> GetEmailAndPhone; remove useless note Signed-off-by: Weihao <1340908470@qq.com>
This commit is contained in:
@ -169,5 +169,30 @@
|
||||
"Edit Application": "Edit Application",
|
||||
"Enable password": "Enable password",
|
||||
"Login page preview": "Login page preview"
|
||||
},
|
||||
"forget":
|
||||
{
|
||||
"Please input your application!": "Please input your application!",
|
||||
"Please input your organization!": "Please input your organization!",
|
||||
"Unknown forgot type:": "Unknown forgot type:",
|
||||
"Please input your username!": "Please input your username!",
|
||||
"Please input your password!": "Please input your password!",
|
||||
"Please confirm your password!": "Please confirm your password!",
|
||||
"Please input your Email/Phone string!": "Please input your Email/Phone string!",
|
||||
"Please input your verification code!": "Please input your verification code!",
|
||||
"Your confirmed password is inconsistent with the password!": "Your confirmed password is inconsistent with the password!",
|
||||
"send code": "send code",
|
||||
"Account": "Account",
|
||||
"Verify": "Verify",
|
||||
"Retrieve password": "Retrieve password",
|
||||
"Reset": "Reset",
|
||||
"Password": "Password",
|
||||
"Next Step": "Next Step",
|
||||
"Confirm": "Confirm",
|
||||
"Verify code": "Verify code",
|
||||
"Email/Phone's format wrong!": "Email/Phone's format wrong!",
|
||||
"Email/Phone": "Email/Phone",
|
||||
"Change Password": "Change Password",
|
||||
"Choose email verification or mobile verification": "Choose email verification or mobile verification"
|
||||
}
|
||||
}
|
||||
|
@ -169,5 +169,30 @@
|
||||
"Edit Application": "修改应用",
|
||||
"Enable password": "开启密码",
|
||||
"Login page preview": "登录页面预览"
|
||||
},
|
||||
"forget":
|
||||
{
|
||||
"Please input your application!": "请输入您的应用名称!",
|
||||
"Please input your organization!": "请输入您的组织名称!",
|
||||
"Unknown forgot type:": "未知的忘记类型:",
|
||||
"Please input your username!": "请输入您的用户名!",
|
||||
"Please input your password!": "请输入您的密码!",
|
||||
"Please confirm your password!": "请确认您的密码!",
|
||||
"Please input your Email/Phone string!": "请输入您的邮箱/手机号!",
|
||||
"Please input your verification code!": "请输入您的验证码",
|
||||
"Your confirmed password is inconsistent with the password!": "您确认的密码与密码不一致!",
|
||||
"send code": "发送验证码",
|
||||
"Verify code": "验证码",
|
||||
"Password": "密码",
|
||||
"Next Step": "下一步",
|
||||
"Choose email verification or mobile verification": "选择邮箱验证或手机验证",
|
||||
"Retrieve password": "找回密码",
|
||||
"Confirm": "验证密码",
|
||||
"Email/Phone's format wrong!": "邮箱/手机号格式错误!",
|
||||
"Change Password": "修改密码",
|
||||
"Account": "账号",
|
||||
"Email/Phone": "邮箱/手机号",
|
||||
"Verify": "验证",
|
||||
"Reset": "重置"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user