diff --git a/embark-ui/src/components/Login.js b/embark-ui/src/components/Login.js index ed4005381..27244d541 100644 --- a/embark-ui/src/components/Login.js +++ b/embark-ui/src/components/Login.js @@ -4,12 +4,12 @@ import logo from '../images/logo-new.svg'; import './Login.css'; class Login extends React.Component { - constructor(props){ + constructor(props) { super(props); this.state = props.credentials; } - handleChange(event){ + handleChange(event) { this.setState({[event.target.name]: event.target.value}); } @@ -28,27 +28,30 @@ class Login extends React.Component {

{this.props.error}

}
-
this.handleSubmit(e)}> + this.handleSubmit(e)}>
this.handleChange(e)} - value={this.state.host}/> + className="form-control form-control-lg" + id="host" + name="host" + placeholder="Enter Embark host" + onChange={(e) => this.handleChange(e)} + value={this.state.host}/>
this.handleChange(e)} - value={this.state.token}/> - Execute embark run in the command line to get your token. + className="form-control form-control-lg" + id="token" + name="token" + placeholder="Enter token" + onChange={(e) => this.handleChange(e)} + autoComplete="off" + value={this.state.token}/> + Execute embark run in the command line to get + your token. +