From f5e6cc40460039b98400106591548f147efabe36 Mon Sep 17 00:00:00 2001 From: Richard Alam Date: Wed, 6 Dec 2017 18:15:28 -0800 Subject: [PATCH] - use header userId to validate token --- .../core/apps/users/ValidateAuthTokenReqMsgHdlr.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/users/ValidateAuthTokenReqMsgHdlr.scala b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/users/ValidateAuthTokenReqMsgHdlr.scala index dcc3dce4bd..34ed821ffb 100755 --- a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/users/ValidateAuthTokenReqMsgHdlr.scala +++ b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/users/ValidateAuthTokenReqMsgHdlr.scala @@ -26,13 +26,13 @@ trait ValidateAuthTokenReqMsgHdlr extends HandlerHelpers { userValidated(u, state) } else { validateTokenFailed(outGW, meetingId = liveMeeting.props.meetingProp.intId, - userId = msg.body.userId, authToken = msg.body.authToken, + userId = msg.header.userId, authToken = msg.body.authToken, valid = false, waitForApproval = false, state) } case None => validateTokenFailed(outGW, meetingId = liveMeeting.props.meetingProp.intId, - userId = msg.body.userId, authToken = msg.body.authToken, + userId = msg.header.userId, authToken = msg.body.authToken, valid = false, waitForApproval = false, state) }