Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6441 from syamgk/fix-parameter-mismatch
Browse files Browse the repository at this point in the history
Fix issue #6406 parameter mismatch
  • Loading branch information
erikjohnston committed Dec 4, 2019
2 parents c530f9a + b62c9db commit b944901
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/6406.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix bug: TypeError in `register_user()` while using LDAP auth module.
2 changes: 1 addition & 1 deletion synapse/handlers/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def register_user(
}

# 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

Expand Down

0 comments on commit b944901

Please sign in to comment.