add missing arguments
This commit is contained in:
parent
503ad78f30
commit
4daffd3da7
|
@ -7,7 +7,7 @@ class AntiSpamRegistrationRegex:
|
|||
check_registration_for_spam=self.check_registration_for_spam,
|
||||
)
|
||||
|
||||
async def check_registration_for_spam(self, username):
|
||||
async def check_registration_for_spam(self, email_threepid, username, request_info, auth_provider_id):
|
||||
for name in self._blocked_usernames:
|
||||
if name.search(username):
|
||||
return synapse.spam_checker_api.RegistrationBehaviour.DENY # not allowed (spam)
|
||||
|
|
Loading…
Reference in New Issue