From 2a556ecab6cf8f0f21a668d6bb59b3e5e5d57b34 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 30 Jan 2015 11:47:44 -0500 Subject: [PATCH] removing extra socket connection call in auth this line was causing the socket connection to happen before the user logs in after a session timeout --- awx/ui/static/lib/ansible/AuthService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/static/lib/ansible/AuthService.js b/awx/ui/static/lib/ansible/AuthService.js index df50cc45a2..ce8b4f73b1 100644 --- a/awx/ui/static/lib/ansible/AuthService.js +++ b/awx/ui/static/lib/ansible/AuthService.js @@ -141,7 +141,7 @@ angular.module('AuthService', ['ngCookies', 'Utilities']) restoreUserInfo: function () { $rootScope.current_user = $cookieStore.get('current_user'); - $rootScope.$emit('OpenSocket'); + // $rootScope.$emit('OpenSocket'); }, getUserInfo: function (key) {