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
1 changed files with 3 additions and 1 deletions

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: