diff --git a/src/shared/components/login.tsx b/src/shared/components/login.tsx index 30b71213..b68795e5 100644 --- a/src/shared/components/login.tsx +++ b/src/shared/components/login.tsx @@ -117,6 +117,7 @@ export class Login extends Component { id="login-email-or-username" value={this.state.loginForm.username_or_email} onInput={linkEvent(this, this.handleLoginUsernameChange)} + autoComplete="email" required minLength={3} /> @@ -133,6 +134,7 @@ export class Login extends Component { value={this.state.loginForm.password} onInput={linkEvent(this, this.handleLoginPasswordChange)} class="form-control" + autoComplete="current-password" required maxLength={60} /> @@ -195,6 +197,7 @@ export class Login extends Component { class="form-control" placeholder={i18n.t("optional")} value={this.state.registerForm.email} + autoComplete="email" onInput={linkEvent(this, this.handleRegisterEmailChange)} minLength={3} />