diff --git a/awx/ui/client/src/login/authenticationServices/authentication.service.js b/awx/ui/client/src/login/authenticationServices/authentication.service.js index 568adeb3fc..241f531aef 100644 --- a/awx/ui/client/src/login/authenticationServices/authentication.service.js +++ b/awx/ui/client/src/login/authenticationServices/authentication.service.js @@ -29,6 +29,7 @@ export default $cookies.put('sessionExpired', false); $rootScope.userLoggedIn = true; + $rootScope.userLoggedOut = false; $rootScope.token_expires = expires; $rootScope.sessionExpired = false; }, @@ -110,6 +111,7 @@ export default $rootScope.token_expires = null; $rootScope.login_username = null; $rootScope.login_password = null; + $rootScope.userLoggedOut = true; if ($rootScope.sessionTimer) { $rootScope.sessionTimer.clearTimers(); } diff --git a/awx/ui/client/src/login/loginModal/loginModal.partial.html b/awx/ui/client/src/login/loginModal/loginModal.partial.html index af9f006d9c..3b6c04454b 100644 --- a/awx/ui/client/src/login/loginModal/loginModal.partial.html +++ b/awx/ui/client/src/login/loginModal/loginModal.partial.html @@ -14,7 +14,7 @@ ng-src="{{ customLogo }}" >
-
+
Welcome to Ansible {{BRAND_NAME}}!  Please sign in.
@@ -23,6 +23,12 @@ Your session timed out due to inactivity. Please sign in.
+
+ +
+ You have been logged out. Please sign in. +
+