Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 2c0ee1e

Browse files
Vridbkr
Vri
andauthored
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 <[email protected]>
1 parent 0856c76 commit 2c0ee1e

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
Loading

src/components/views/auth/PasswordLogin.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
310310
key="username_input"
311311
type="text"
312312
label={_t("common|username")}
313-
placeholder={_t("common|username").toLocaleLowerCase()}
313+
placeholder={_t("common|username")}
314314
value={this.props.username}
315315
onChange={this.onUsernameChanged}
316316
onBlur={this.onUsernameBlur}

src/components/views/auth/RegistrationForm.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
530530
type="text"
531531
autoFocus={true}
532532
label={_t("common|username")}
533-
placeholder={_t("common|username").toLocaleLowerCase()}
533+
placeholder={_t("common|username")}
534534
value={this.state.username}
535535
onChange={this.onUsernameChange}
536536
onValidate={this.onUsernameValidate}

0 commit comments

Comments
 (0)