working commit LoginPage.jsx tests

This commit is contained in:
John Mitchell
2018-10-24 21:16:24 -04:00
parent fba1a5b71a
commit cfb89f1e31
2 changed files with 53 additions and 4 deletions

View File

@@ -63,9 +63,9 @@ class LoginPage extends Component {
const { username, password, loading, error } = this.state;
const { logo, loginInfo } = this.props;
if (api.isAuthenticated()) {
return (<Redirect to="/" />);
}
// if (api.isAuthenticated()) {
// return (<Redirect to="/" />);
// }
return (
<Login
@@ -97,7 +97,7 @@ class LoginPage extends Component {
onChange={this.handleUsernameChange}
/>
</div>
<div className="pf-c-form__group">
<div className="pf-c-form__group" id="password">>
<label className="pf-c-form__label" htmlFor="pw">
Password
<span className="pf-c-form__label__required" aria-hidden="true">&#42;</span>