mirror of
https://github.com/element-hq/synapse
synced 2024-09-05 22:20:06 +00:00
Pass make_guest whne we autogen a user ID
This commit is contained in:
parent
b023995538
commit
69214ea671
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue