fix(cockpit): disable autocomplete in Login component

This commit is contained in:
Jonathan Rainville 2018-11-06 14:58:57 -05:00
parent c25c644b5a
commit 3ddcd1f825
1 changed files with 19 additions and 16 deletions

View File

@ -47,8 +47,11 @@ class Login extends React.Component {
name="token"
placeholder="Enter token"
onChange={(e) => this.handleChange(e)}
autoComplete="off"
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>
<button type="submit" className="btn btn-pill btn-dark">Enter Cockpit</button>
</form>