mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
fixed console error
This commit is contained in:
@@ -992,7 +992,7 @@ var tower = angular.module('Tower', [
|
|||||||
if (next.templateUrl !== (urlPrefix + 'login/loginBackDrop.partial.html')) {
|
if (next.templateUrl !== (urlPrefix + 'login/loginBackDrop.partial.html')) {
|
||||||
$location.path('/login');
|
$location.path('/login');
|
||||||
}
|
}
|
||||||
} else if ($rootScope.sessionTimer.isExpired()) {
|
} else if ($rootScope && $rootScope.sessionTimer && $rootScope.sessionTimer.isExpired()) {
|
||||||
// gets here on timeout
|
// gets here on timeout
|
||||||
if (next.templateUrl !== (urlPrefix + 'login/loginBackDrop.partial.html')) {
|
if (next.templateUrl !== (urlPrefix + 'login/loginBackDrop.partial.html')) {
|
||||||
$rootScope.sessionTimer.expireSession('idle');
|
$rootScope.sessionTimer.expireSession('idle');
|
||||||
|
|||||||
Reference in New Issue
Block a user