diff options
author | David Baker <dave@matrix.org> | 2016-02-02 14:42:31 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-02-02 14:42:31 +0000 |
commit | 69214ea671d3e219d53698cc608c8e4d414cc3f7 (patch) | |
tree | b155992a130107088aa342fe54ca83fb8defc3ca /synapse/handlers/register.py | |
parent | WARN if we get a topo token instead of stream. (diff) | |
download | synapse-69214ea671d3e219d53698cc608c8e4d414cc3f7.tar.xz |
Pass make_guest whne we autogen a user ID
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/register.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index c11b98d0b7..abd1a16a41 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -139,7 +139,9 @@ class RegistrationHandler(BaseHandler): yield self.store.register( user_id=user_id, token=token, - password_hash=password_hash) + password_hash=password_hash, + make_guest=make_guest + ) yield registered_user(self.distributor, user) except SynapseError: |