Load /password_policy endpoint on workers. (#15331)

This commit is contained in:
Dirk Klimpel 2023-03-27 13:37:17 +02:00 committed by GitHub
parent 7a892ce793
commit 4fc85e5a92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 2 deletions

View file

@ -31,6 +31,7 @@ logger = logging.getLogger(__name__)
class PasswordPolicyServlet(RestServlet):
PATTERNS = client_patterns("/password_policy$")
CATEGORY = "Registration/login requests"
def __init__(self, hs: "HomeServer"):
super().__init__()