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
This commit is contained in:
Jared Tabor 2015-01-30 11:47:44 -05:00
parent b73c7ce41b
commit 2a556ecab6

View File

@ -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) {