Merge pull request #6441 from syamgk/fix-parameter-mismatch

Fix issue #6406 parameter mismatch
This commit is contained in:
Erik Johnston 2019-12-04 15:42:33 +00:00 committed by GitHub
commit b9449012db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/6406.bugfix Normal file
View file

@ -0,0 +1 @@
Fix bug: TypeError in `register_user()` while using LDAP auth module.

View file

@ -266,7 +266,7 @@ class RegistrationHandler(BaseHandler):
}
# Bind email to new account
yield self._register_email_threepid(user_id, threepid_dict, None, False)
yield self._register_email_threepid(user_id, threepid_dict, None)
return user_id