Show message for signing up with at least 6 chars' password.

This commit is contained in:
Gucheng Wang 2021-12-06 09:38:22 +08:00
parent dc9d2389a5
commit 667158f585
8 changed files with 9 additions and 1 deletions

View File

@ -344,7 +344,8 @@ class SignupPage extends React.Component {
rules={[ rules={[
{ {
required: required, required: required,
message: i18next.t("login:Please input your password!"), min: 6,
message: i18next.t("login:Please input your password, at least 6 characters!"),
}, },
]} ]}
hasFeedback hasFeedback

View File

@ -176,6 +176,7 @@
"Password - Tooltip": "Password - Tooltip", "Password - Tooltip": "Password - Tooltip",
"Please input your code!": "Please input your code!", "Please input your code!": "Please input your code!",
"Please input your password!": "Please input your password!", "Please input your password!": "Please input your password!",
"Please input your password, at least 6 characters!": "Please input your password, at least 6 characters!",
"Please input your username, Email or phone!": "Please input your username, Email or phone!", "Please input your username, Email or phone!": "Please input your username, Email or phone!",
"Sign In": "Sign In", "Sign In": "Sign In",
"Sign in with code": "Sign in with code", "Sign in with code": "Sign in with code",

View File

@ -176,6 +176,7 @@
"Password - Tooltip": "Password - Tooltip", "Password - Tooltip": "Password - Tooltip",
"Please input your code!": "Please input your code!", "Please input your code!": "Please input your code!",
"Please input your password!": "Please input your password!", "Please input your password!": "Please input your password!",
"Please input your password, at least 6 characters!": "Please input your password, at least 6 characters!",
"Please input your username, Email or phone!": "Please input your username, Email or phone!", "Please input your username, Email or phone!": "Please input your username, Email or phone!",
"Sign In": "Sign In", "Sign In": "Sign In",
"Sign in with code": "Sign in with code", "Sign in with code": "Sign in with code",

View File

@ -176,6 +176,7 @@
"Password - Tooltip": "Password - Tooltip", "Password - Tooltip": "Password - Tooltip",
"Please input your code!": "Please input your code!", "Please input your code!": "Please input your code!",
"Please input your password!": "Please input your password!", "Please input your password!": "Please input your password!",
"Please input your password, at least 6 characters!": "Please input your password, at least 6 characters!",
"Please input your username, Email or phone!": "Please input your username, Email or phone!", "Please input your username, Email or phone!": "Please input your username, Email or phone!",
"Sign In": "Sign In", "Sign In": "Sign In",
"Sign in with code": "Sign in with code", "Sign in with code": "Sign in with code",

View File

@ -176,6 +176,7 @@
"Password - Tooltip": "Password - Tooltip", "Password - Tooltip": "Password - Tooltip",
"Please input your code!": "Please input your code!", "Please input your code!": "Please input your code!",
"Please input your password!": "Please input your password!", "Please input your password!": "Please input your password!",
"Please input your password, at least 6 characters!": "Please input your password, at least 6 characters!",
"Please input your username, Email or phone!": "Please input your username, Email or phone!", "Please input your username, Email or phone!": "Please input your username, Email or phone!",
"Sign In": "Sign In", "Sign In": "Sign In",
"Sign in with code": "Sign in with code", "Sign in with code": "Sign in with code",

View File

@ -176,6 +176,7 @@
"Password - Tooltip": "Password - Tooltip", "Password - Tooltip": "Password - Tooltip",
"Please input your code!": "Please input your code!", "Please input your code!": "Please input your code!",
"Please input your password!": "Please input your password!", "Please input your password!": "Please input your password!",
"Please input your password, at least 6 characters!": "Please input your password, at least 6 characters!",
"Please input your username, Email or phone!": "Please input your username, Email or phone!", "Please input your username, Email or phone!": "Please input your username, Email or phone!",
"Sign In": "Sign In", "Sign In": "Sign In",
"Sign in with code": "Sign in with code", "Sign in with code": "Sign in with code",

View File

@ -176,6 +176,7 @@
"Password - Tooltip": "Password - Tooltip", "Password - Tooltip": "Password - Tooltip",
"Please input your code!": "Please input your code!", "Please input your code!": "Please input your code!",
"Please input your password!": "Please input your password!", "Please input your password!": "Please input your password!",
"Please input your password, at least 6 characters!": "Please input your password, at least 6 characters!",
"Please input your username, Email or phone!": "Please input your username, Email or phone!", "Please input your username, Email or phone!": "Please input your username, Email or phone!",
"Sign In": "Sign In", "Sign In": "Sign In",
"Sign in with code": "Sign in with code", "Sign in with code": "Sign in with code",

View File

@ -176,6 +176,7 @@
"Password - Tooltip": "密码", "Password - Tooltip": "密码",
"Please input your code!": "请输入您的验证码!", "Please input your code!": "请输入您的验证码!",
"Please input your password!": "请输入您的密码!", "Please input your password!": "请输入您的密码!",
"Please input your password, at least 6 characters!": "请输入您的密码不少于6位",
"Please input your username, Email or phone!": "请输入您的用户名、Email或手机号", "Please input your username, Email or phone!": "请输入您的用户名、Email或手机号",
"Sign In": "登录", "Sign In": "登录",
"Sign in with code": "验证码登录", "Sign in with code": "验证码登录",