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

Fix forced lowercase username in login/registration flows #9329

Merged
merged 4 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/views/auth/PasswordLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
key="username_input"
type="text"
label={_t("Username")}
placeholder={_t("Username").toLocaleLowerCase()}
placeholder={_t("Username")}
value={this.props.username}
onChange={this.onUsernameChanged}
onBlur={this.onUsernameBlur}
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/auth/RegistrationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
type="text"
autoFocus={true}
label={_t("Username")}
placeholder={_t("Username").toLocaleLowerCase()}
placeholder={_t("Username")}
value={this.state.username}
onChange={this.onUsernameChange}
onValidate={this.onUsernameValidate}
Expand Down