Remove username on HS input label
Removes redundant HS name on the username input that duplicates the header above it. Fixes https://github.com/vector-im/riot-web/issues/9884
This commit is contained in:
parent
76cd829ac9
commit
1e3e9f4f87
2 changed files with 1 additions and 5 deletions
|
@ -211,10 +211,7 @@ export default class PasswordLogin extends React.Component {
|
||||||
name="username" // make it a little easier for browser's remember-password
|
name="username" // make it a little easier for browser's remember-password
|
||||||
key="username_input"
|
key="username_input"
|
||||||
type="text"
|
type="text"
|
||||||
label={SdkConfig.get().disable_custom_urls ?
|
label={_t("Username")}
|
||||||
_t("Username on %(hs)s", {
|
|
||||||
hs: this.props.serverConfig.hsName,
|
|
||||||
}) : _t("Username")}
|
|
||||||
value={this.state.username}
|
value={this.state.username}
|
||||||
onChange={this.onUsernameChanged}
|
onChange={this.onUsernameChanged}
|
||||||
onBlur={this.onUsernameBlur}
|
onBlur={this.onUsernameBlur}
|
||||||
|
|
|
@ -1329,7 +1329,6 @@
|
||||||
"The phone number field must not be blank.": "The phone number field must not be blank.",
|
"The phone number field must not be blank.": "The phone number field must not be blank.",
|
||||||
"The password field must not be blank.": "The password field must not be blank.",
|
"The password field must not be blank.": "The password field must not be blank.",
|
||||||
"Email": "Email",
|
"Email": "Email",
|
||||||
"Username on %(hs)s": "Username on %(hs)s",
|
|
||||||
"Username": "Username",
|
"Username": "Username",
|
||||||
"Phone": "Phone",
|
"Phone": "Phone",
|
||||||
"Not sure of your password? <a>Set a new one</a>": "Not sure of your password? <a>Set a new one</a>",
|
"Not sure of your password? <a>Set a new one</a>": "Not sure of your password? <a>Set a new one</a>",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue