Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
user_id to user_authentication_id changed on websockets connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesús Espino committed Nov 20, 2014
1 parent bec21a6 commit b13e7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taiga_events/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def parse_auth_message(self, message:dict) -> types.AuthMsg:
assert "sessionId" in message, "handshake message should contain sessionId"

token_data = signing.loads(message["token"], key=self.config["secret_key"])
return types.AuthMsg(message["token"], token_data["user_id"], message["sessionId"])
return types.AuthMsg(message["token"], token_data["user_authentication_id"], message["sessionId"])

@asyncio.coroutine
def authenticate(self, message:dict):
Expand Down

0 comments on commit b13e7f1

Please sign in to comment.