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

Give our input fields names #520

Merged
merged 1 commit into from
Oct 17, 2016
Merged

Give our input fields names #520

merged 1 commit into from
Oct 17, 2016

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Oct 14, 2016

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.

Fixes element-hq/element-web#2469

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.
@@ -96,10 +96,12 @@ module.exports = React.createClass({displayName: 'PasswordLogin',
<div>
<form onSubmit={this.onSubmitForm}>
<input className="mx_Login_field" type="text"
name="username" // make it a little easier for browser's remember-password
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note this will mean anyone why's already told chrome to remember their passwords will have to re-enter their credentials. We could remove this if we're not happy with that: I figure it's better to have them and if so we'd better do it sooner rather than later.

@richvdh richvdh merged commit 658224a into develop Oct 17, 2016
@richvdh
Copy link
Member

richvdh commented Oct 17, 2016

LGTM. Presumably element-hq/element-web#2462 is a similar problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants