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>
This commit is contained in:
parent
0856c7617d
commit
2c0ee1e114
3 changed files with 2 additions and 2 deletions
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"
|
||||
type="text"
|
||||
label={_t("common|username")}
|
||||
placeholder={_t("common|username").toLocaleLowerCase()}
|
||||
placeholder={_t("common|username")}
|
||||
value={this.props.username}
|
||||
onChange={this.onUsernameChanged}
|
||||
onBlur={this.onUsernameBlur}
|
||||
|
|
|
@ -530,7 +530,7 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
|
|||
type="text"
|
||||
autoFocus={true}
|
||||
label={_t("common|username")}
|
||||
placeholder={_t("common|username").toLocaleLowerCase()}
|
||||
placeholder={_t("common|username")}
|
||||
value={this.state.username}
|
||||
onChange={this.onUsernameChange}
|
||||
onValidate={this.onUsernameValidate}
|
||||
|
|
Loading…
Reference in a new issue