Merge pull request #548 from matrix-org/dbkr/fix_guest_db_column

Pass make_guest when we autogen a user ID
This commit is contained in:
David Baker 2016-02-02 14:46:25 +00:00
commit 9039904f4c

View File

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