Browser: Make login form browser auto-fill compatible (#4091)

This commit is contained in:
Rushan 2017-04-11 22:41:42 +05:30 committed by Harshavardhana
parent 7f5e037846
commit 1b0b2c1c76
2 changed files with 3 additions and 8 deletions

View File

@ -89,10 +89,6 @@ export default class Login extends React.Component {
{ alertBox } { alertBox }
<div className="l-wrap"> <div className="l-wrap">
<form onSubmit={ this.handleSubmit.bind(this) }> <form onSubmit={ this.handleSubmit.bind(this) }>
<input name="fixBrowser"
autoComplete="username"
type="text"
style={ { display: 'none' } } />
<InputGroup className="ig-dark" <InputGroup className="ig-dark"
label="Access Key" label="Access Key"
id="accessKey" id="accessKey"
@ -102,7 +98,6 @@ export default class Login extends React.Component {
required="required" required="required"
autoComplete="username"> autoComplete="username">
</InputGroup> </InputGroup>
<input type="text" autoComplete="new-password" style={ { display: 'none' } } />
<InputGroup className="ig-dark" <InputGroup className="ig-dark"
label="Secret Key" label="Secret Key"
id="secretKey" id="secretKey"

View File

@ -81,7 +81,7 @@ select.form-control {
width: 100%; width: 100%;
height: 40px; height: 40px;
border: 0; border: 0;
background: transparent; background: transparent !important;
text-align: center; text-align: center;
position: relative; position: relative;
z-index: 1; z-index: 1;
@ -114,8 +114,8 @@ select.form-control {
.ig-dark { .ig-dark {
.ig-text { .ig-text {
color: @white; color: @white !important;
border-color: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.1) !important;
} }
.ig-helpers { .ig-helpers {