mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
fixed console error
This commit is contained in:
parent
b45534859f
commit
4049a2cfa4
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user