Pass make_guest whne we autogen a user ID

This commit is contained in:
David Baker 2016-02-02 14:42:31 +00:00
parent b023995538
commit 69214ea671

View File

@ -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: