mirror of
https://github.com/ansible/awx.git
synced 2026-02-04 02:58:13 -03:30
working commit LoginPage.jsx tests
This commit is contained in:
@@ -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">*</span>
|
||||
|
||||
Reference in New Issue
Block a user