mirror of https://github.com/vector-im/riot-web
Fix forced lowercase username in login/registration flows (#9329)
* remove lowercase (proposal) Lowercase doesn't make sense here (at least in German). I suggest removing it or creating a new translatable string. * remove lowercase Lowercase doesn't make sense here (at least in German). I suggest removing it or creating a new translatable string. * Update screenshot --------- Co-authored-by: David Baker <dbkr@users.noreply.github.com>pull/28217/head
parent
0856c7617d
commit
2c0ee1e114
Binary file not shown.
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
|
@ -310,7 +310,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
|
||||||
key="username_input"
|
key="username_input"
|
||||||
type="text"
|
type="text"
|
||||||
label={_t("common|username")}
|
label={_t("common|username")}
|
||||||
placeholder={_t("common|username").toLocaleLowerCase()}
|
placeholder={_t("common|username")}
|
||||||
value={this.props.username}
|
value={this.props.username}
|
||||||
onChange={this.onUsernameChanged}
|
onChange={this.onUsernameChanged}
|
||||||
onBlur={this.onUsernameBlur}
|
onBlur={this.onUsernameBlur}
|
||||||
|
|
|
@ -530,7 +530,7 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
|
||||||
type="text"
|
type="text"
|
||||||
autoFocus={true}
|
autoFocus={true}
|
||||||
label={_t("common|username")}
|
label={_t("common|username")}
|
||||||
placeholder={_t("common|username").toLocaleLowerCase()}
|
placeholder={_t("common|username")}
|
||||||
value={this.state.username}
|
value={this.state.username}
|
||||||
onChange={this.onUsernameChange}
|
onChange={this.onUsernameChange}
|
||||||
onValidate={this.onUsernameValidate}
|
onValidate={this.onUsernameValidate}
|
||||||
|
|
Loading…
Reference in New Issue