diff options
author | David Baker <dave@matrix.org> | 2016-02-01 16:33:19 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-02-01 16:33:19 +0000 |
commit | d7ac861d3b34bbc6d0d0b66370903831ef6ee9bf (patch) | |
tree | 2c840c218d2092819572177fa72735c31f8d9982 /synapse/rest/client/v2_alpha/register.py | |
parent | Merge pull request #543 from matrix-org/erikj/sync (diff) | |
download | synapse-d7ac861d3b34bbc6d0d0b66370903831ef6ee9bf.tar.xz |
Pull guest access token out of the auth session params, otherwise it will break if you open the email on a different device.
Diffstat (limited to 'synapse/rest/client/v2_alpha/register.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/register.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py index c4d025b465..5d50dd9e3d 100644 --- a/synapse/rest/client/v2_alpha/register.py +++ b/synapse/rest/client/v2_alpha/register.py @@ -152,6 +152,7 @@ class RegisterRestServlet(RestServlet): 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, |