mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 06:56:00 -03:30
null pointer exception
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user