diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2023-03-27 13:37:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 07:37:17 -0400 |
commit | 4fc85e5a921c7200a54a7fd1e9b56b5d2fedc453 (patch) | |
tree | bc1b3194ad346e8fb7e84d6dd78e4a79ac902bb0 /synapse/rest/__init__.py | |
parent | Bump cryptography from 40.0.0 to 40.0.1 (#15329) (diff) | |
download | synapse-4fc85e5a921c7200a54a7fd1e9b56b5d2fedc453.tar.xz |
Load `/password_policy` endpoint on workers. (#15331)
Diffstat (limited to 'synapse/rest/__init__.py')
-rw-r--r-- | synapse/rest/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/rest/__init__.py b/synapse/rest/__init__.py index 55b448adfd..1d7c11b42d 100644 --- a/synapse/rest/__init__.py +++ b/synapse/rest/__init__.py @@ -138,8 +138,7 @@ class ClientRestResource(JsonResource): capabilities.register_servlets(hs, client_resource) account_validity.register_servlets(hs, client_resource) relations.register_servlets(hs, client_resource) - if is_main_process: - password_policy.register_servlets(hs, client_resource) + password_policy.register_servlets(hs, client_resource) knock.register_servlets(hs, client_resource) appservice_ping.register_servlets(hs, client_resource) |