mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Pull guest access token out of the auth session params, otherwise it will break if you open the email on a different device.
This commit is contained in:
parent
2d3837bec7
commit
d7ac861d3b
@ -152,6 +152,7 @@ class RegisterRestServlet(RestServlet):
|
|||||||
|
|
||||||
desired_username = params.get("username", None)
|
desired_username = params.get("username", None)
|
||||||
new_password = params.get("password", None)
|
new_password = params.get("password", None)
|
||||||
|
guest_access_token = params.get("guest_access_token", None)
|
||||||
|
|
||||||
(user_id, token) = yield self.registration_handler.register(
|
(user_id, token) = yield self.registration_handler.register(
|
||||||
localpart=desired_username,
|
localpart=desired_username,
|
||||||
|
Loading…
Reference in New Issue
Block a user