mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 07:52:15 -04:00
bug fixes
This commit is contained in:
parent
e10830e976
commit
886be75ad1
5 changed files with 10 additions and 27 deletions
|
@ -540,7 +540,7 @@ class RegistrationHandler(BaseHandler):
|
|||
Do not accept registrations if monthly active user limits exceeded
|
||||
and limiting is enabled
|
||||
"""
|
||||
error = RegistrationError(
|
||||
403, "Monthly Active User limits exceeded", errcode=Codes.MAU_LIMIT_EXCEEDED
|
||||
)
|
||||
yield self.auth.check_auth_blocking(error)
|
||||
try:
|
||||
yield self.auth.check_auth_blocking()
|
||||
except AuthError as e:
|
||||
raise RegistrationError(e.code, e.message, e.errcode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue