- use header userId to validate token
This commit is contained in:
parent
7c4435b0bb
commit
f5e6cc4046
@ -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)
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user