From 25cc34188870af55e0e31f6ba42d4240df3cf253 Mon Sep 17 00:00:00 2001 From: mabashian Date: Wed, 11 Dec 2019 10:56:46 -0500 Subject: [PATCH] Reverts changes to logout logic. We don't want to redirect to an override url if the user explicitly logs out. --- awx/ui/client/src/login/logout.route.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/awx/ui/client/src/login/logout.route.js b/awx/ui/client/src/login/logout.route.js index cf5c228a30..47da767ec5 100644 --- a/awx/ui/client/src/login/logout.route.js +++ b/awx/ui/client/src/login/logout.route.js @@ -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'); }); }],