You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
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:
@@ -211,10 +211,7 @@ export default class PasswordLogin extends React.Component {
|
||||
name="username" // make it a little easier for browser's remember-password
|
||||
key="username_input"
|
||||
type="text"
|
||||
label={SdkConfig.get().disable_custom_urls ?
|
||||
_t("Username on %(hs)s", {
|
||||
hs: this.props.serverConfig.hsName,
|
||||
}) : _t("Username")}
|
||||
label={_t("Username")}
|
||||
value={this.state.username}
|
||||
onChange={this.onUsernameChanged}
|
||||
onBlur={this.onUsernameBlur}
|
||||
|
||||
Reference in New Issue
Block a user