mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-19 02:54:18 -05:00
Pass make_guest whne we autogen a user ID
This commit is contained in:
parent
b023995538
commit
69214ea671
@ -139,7 +139,9 @@ class RegistrationHandler(BaseHandler):
|
|||||||
yield self.store.register(
|
yield self.store.register(
|
||||||
user_id=user_id,
|
user_id=user_id,
|
||||||
token=token,
|
token=token,
|
||||||
password_hash=password_hash)
|
password_hash=password_hash,
|
||||||
|
make_guest=make_guest
|
||||||
|
)
|
||||||
|
|
||||||
yield registered_user(self.distributor, user)
|
yield registered_user(self.distributor, user)
|
||||||
except SynapseError:
|
except SynapseError:
|
||||||
|
Loading…
Reference in New Issue
Block a user