diff --git a/awx/ui/client/src/app.js b/awx/ui/client/src/app.js index 63efa9c54e..066bd57269 100644 --- a/awx/ui/client/src/app.js +++ b/awx/ui/client/src/app.js @@ -992,7 +992,7 @@ var tower = angular.module('Tower', [ if (next.templateUrl !== (urlPrefix + 'login/loginBackDrop.partial.html')) { $location.path('/login'); } - } else if ($rootScope.sessionTimer.isExpired()) { + } else if ($rootScope && $rootScope.sessionTimer && $rootScope.sessionTimer.isExpired()) { // gets here on timeout if (next.templateUrl !== (urlPrefix + 'login/loginBackDrop.partial.html')) { $rootScope.sessionTimer.expireSession('idle');