mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
Reverts changes to logout logic. We don't want to redirect to an override url if the user explicitly logs out.
This commit is contained in:
parent
d899e75ad7
commit
25cc341888
@ -11,11 +11,7 @@ export default {
|
||||
route: '/logout',
|
||||
controller: ['Authorization', '$state', function(Authorization, $state) {
|
||||
Authorization.logout().then( () =>{
|
||||
if (global.$AnsibleConfig.login_redirect_override) {
|
||||
window.location.replace(global.$AnsibleConfig.login_redirect_override);
|
||||
} else {
|
||||
$state.go('signIn');
|
||||
}
|
||||
$state.go('signIn');
|
||||
});
|
||||
|
||||
}],
|
||||
|
Loading…
Reference in New Issue
Block a user