From 6bd20c643304eef56690f3dc868defefc10279ea Mon Sep 17 00:00:00 2001 From: jaredevantabor Date: Thu, 20 Oct 2016 12:58:45 -0700 Subject: [PATCH] Adding the token to the socket url --- awx/ui/client/src/shared/socket/socket.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/shared/socket/socket.service.js b/awx/ui/client/src/shared/socket/socket.service.js index a7d526149a..632fa812cb 100644 --- a/awx/ui/client/src/shared/socket/socket.service.js +++ b/awx/ui/client/src/shared/socket/socket.service.js @@ -27,7 +27,7 @@ export default if (!$rootScope.sessionTimer || ($rootScope.sessionTimer && !$rootScope.sessionTimer.isExpired())) { // We have a valid session token, so attempt socket connection - // url = `${url}?session=${token}`; + url = `${url}?token=${token}`; $log.debug('Socket connecting to: ' + url); self.socket = new ReconnectingWebSocket(url, null, {