mirror of
https://github.com/ansible/awx.git
synced 2026-02-03 10:38:15 -03:30
update LoginPage component and test pseudocode
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
|
||||
|
||||
Reference in New Issue
Block a user