mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-17 02:10:41 -04:00
Rename config field to reflect yaml name
This commit is contained in:
parent
5f280837a6
commit
5054806ec1
6 changed files with 10 additions and 10 deletions
|
@ -117,7 +117,7 @@ class RegisterRestServlet(RestServlet):
|
|||
return
|
||||
|
||||
# == Normal User Registration == (everyone else)
|
||||
if self.hs.config.disable_registration:
|
||||
if not self.hs.config.enable_registration:
|
||||
raise SynapseError(403, "Registration has been disabled")
|
||||
|
||||
guest_access_token = body.get("guest_access_token", None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue