mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
null pointer exception
This commit is contained in:
parent
cc0f78102e
commit
d8aff34f63
@ -997,7 +997,7 @@ var tower = angular.module('Tower', [
|
||||
// gets here on timeout
|
||||
if (next.templateUrl !== (urlPrefix + 'login/loginBackDrop.partial.html')) {
|
||||
$rootScope.sessionTimer.expireSession('idle');
|
||||
if (sock) {
|
||||
if (sock&& sock.socket && sock.socket.socket) {
|
||||
sock.socket.socket.disconnect();
|
||||
}
|
||||
$location.path('/login');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user