From 6f6e850075bb359d5b4b0aa989834871675abe45 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 23 Nov 2020 10:23:28 +0000 Subject: [PATCH] lowercase username placeholder in Password Login and Registration Form --- src/components/views/auth/PasswordLogin.tsx | 1 + src/components/views/auth/RegistrationForm.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/views/auth/PasswordLogin.tsx b/src/components/views/auth/PasswordLogin.tsx index fced2e08d0..f29418d50e 100644 --- a/src/components/views/auth/PasswordLogin.tsx +++ b/src/components/views/auth/PasswordLogin.tsx @@ -357,6 +357,7 @@ export default class PasswordLogin extends React.PureComponent { key="username_input" type="text" label={_t("Username")} + placeholder={_t("Username").toLocaleLowerCase()} value={this.props.username} onChange={this.onUsernameChanged} onFocus={this.onUsernameFocus} diff --git a/src/components/views/auth/RegistrationForm.tsx b/src/components/views/auth/RegistrationForm.tsx index f6fb3bb3ea..58a0f63b5f 100644 --- a/src/components/views/auth/RegistrationForm.tsx +++ b/src/components/views/auth/RegistrationForm.tsx @@ -522,6 +522,7 @@ export default class RegistrationForm extends React.PureComponent