Commit 1ec97e84 authored by Tang Xinwei's avatar Tang Xinwei

修改用户名注册提示文字,关闭改名

parent 326dc350
Pipeline #31111 passed with stages
in 7 minutes and 8 seconds
...@@ -182,8 +182,8 @@ ...@@ -182,8 +182,8 @@
"i_password_error": "密码错误", "i_password_error": "密码错误",
"i_user_unexists": "用户不存在", "i_user_unexists": "用户不存在",
"i_email_exists": "邮箱已存在", "i_email_exists": "邮箱已存在",
"i_username_exists": "用户名已存在", "i_username_exists": "用户名已存在、格式有误或包含违禁词语。",
"i_username_exists_or_invalid": "用户名已存在或格式有误", "i_username_exists_or_invalid": "用户名已存在、格式有误或包含违禁词语。",
"i_not_found": "用户不存在", "i_not_found": "用户不存在",
"i_key_time_out": "此链接已过期", "i_key_time_out": "此链接已过期",
"i_key_invalid": "此链接已失效", "i_key_invalid": "此链接已失效",
......
...@@ -144,7 +144,7 @@ class EmailForm extends React.Component { ...@@ -144,7 +144,7 @@ class EmailForm extends React.Component {
<Form onSubmit={this.onSubmit}> <Form onSubmit={this.onSubmit}>
<FormItem {...usernameProps.fromItem}> <FormItem {...usernameProps.fromItem}>
{getFieldDecorator('username', { ...usernameProps.decorator })( {getFieldDecorator('username', { ...usernameProps.decorator })(
<Input {...usernameProps.input} />, <Input {...usernameProps.input} disabled/>,
)} )}
{ {
<div className="alert alert-warning" role="alert">{temporaryPromptText}</div> <div className="alert alert-warning" role="alert">{temporaryPromptText}</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment