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) }