mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 14:34:56 -04:00
Add "require_consent" parameter for registration
This commit is contained in:
parent
1b09cf8658
commit
3320aaab3a
3 changed files with 18 additions and 3 deletions
|
@ -72,6 +72,7 @@ class ReplicationRegisterServlet(ReplicationEndpoint):
|
|||
"admin": admin,
|
||||
"user_type": user_type,
|
||||
"address": address,
|
||||
"require_consent": require_consent,
|
||||
}
|
||||
|
||||
@defer.inlineCallbacks
|
||||
|
@ -88,6 +89,7 @@ class ReplicationRegisterServlet(ReplicationEndpoint):
|
|||
admin=content["admin"],
|
||||
user_type=content["user_type"],
|
||||
address=content["address"],
|
||||
require_consent=content["require_consent"],
|
||||
)
|
||||
|
||||
return (200, {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue