Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #547 from matrix-org/dbkr/fix_guest_upgrade
Browse files Browse the repository at this point in the history
Pull guest access token out of the auth session params
  • Loading branch information
dbkr committed Feb 2, 2016
2 parents 7a8ea7e + d7ac861 commit 7933697
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions synapse/rest/client/v2_alpha/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def on_POST(self, request):

desired_username = params.get("username", None)
new_password = params.get("password", None)
guest_access_token = params.get("guest_access_token", None)

(user_id, token) = yield self.registration_handler.register(
localpart=desired_username,
Expand Down

0 comments on commit 7933697

Please sign in to comment.