mirror of https://github.com/embarklabs/embark.git
Merge pull request #1035 from embark-framework/chore/disable-autocomplete-login
Disable autocomplete in Login component and fix indentation
This commit is contained in:
commit
c3ae7d608f
|
@ -47,8 +47,11 @@ class Login extends React.Component {
|
||||||
name="token"
|
name="token"
|
||||||
placeholder="Enter token"
|
placeholder="Enter token"
|
||||||
onChange={(e) => this.handleChange(e)}
|
onChange={(e) => this.handleChange(e)}
|
||||||
|
autoComplete="off"
|
||||||
value={this.state.token}/>
|
value={this.state.token}/>
|
||||||
<small className="form-text text-muted">Execute <code>embark run</code> in the command line to get your token.</small>
|
<small className="form-text text-muted">Execute <code>embark run</code> in the command line to get
|
||||||
|
your token.
|
||||||
|
</small>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" className="btn btn-pill btn-dark">Enter Cockpit</button>
|
<button type="submit" className="btn btn-pill btn-dark">Enter Cockpit</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue