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

Commit

Permalink
Pull guest access token out of the auth session params, otherwise it …
Browse files Browse the repository at this point in the history
…will break if you open the email on a different device.
  • Loading branch information
dbkr committed Feb 1, 2016
1 parent 2d3837b commit d7ac861
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 d7ac861

Please sign in to comment.