From 3f067cbdf63cb1f520e272d9c0b46dacd829f96d Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 14 Oct 2016 15:34:44 +0100 Subject: [PATCH] Give our input fields names Otherwise browsers' 'Remember Password' feature has to guess badly and ends up putting the login username / password in the first two password reset fields which is a bit odd. --- src/components/structures/login/ForgotPassword.js | 3 +++ src/components/views/login/PasswordLogin.js | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/components/structures/login/ForgotPassword.js b/src/components/structures/login/ForgotPassword.js index 905936b8f6..1868c2ee73 100644 --- a/src/components/structures/login/ForgotPassword.js +++ b/src/components/structures/login/ForgotPassword.js @@ -162,16 +162,19 @@ module.exports = React.createClass({


diff --git a/src/components/views/login/PasswordLogin.js b/src/components/views/login/PasswordLogin.js index 576745886a..6f6081858b 100644 --- a/src/components/views/login/PasswordLogin.js +++ b/src/components/views/login/PasswordLogin.js @@ -96,10 +96,12 @@ module.exports = React.createClass({displayName: 'PasswordLogin',

{this._passwordField = e;}} type="password" + name="password" value={this.state.password} onChange={this.onPasswordChanged} placeholder="Password" />