mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 02:17:37 -02:30
null pointer exception
This commit is contained in:
@@ -997,7 +997,7 @@ var tower = angular.module('Tower', [
|
|||||||
// 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');
|
||||||
if (sock) {
|
if (sock&& sock.socket && sock.socket.socket) {
|
||||||
sock.socket.socket.disconnect();
|
sock.socket.socket.disconnect();
|
||||||
}
|
}
|
||||||
$location.path('/login');
|
$location.path('/login');
|
||||||
|
|||||||
Reference in New Issue
Block a user