From 2f8444faa046eeb4b6cfaa32de387ed872e8b9bd Mon Sep 17 00:00:00 2001 From: blackout Date: Sat, 15 Jun 2024 13:10:55 -0400 Subject: [PATCH] wip --- synapse/tests/test_lib_hiveauth.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/synapse/tests/test_lib_hiveauth.py b/synapse/tests/test_lib_hiveauth.py index d3fa4714f8e..48f23d92fe8 100644 --- a/synapse/tests/test_lib_hiveauth.py +++ b/synapse/tests/test_lib_hiveauth.py @@ -484,6 +484,9 @@ async def test_hive_auth_password_policy(self): ) policy = { + # The complexity requirements here allow for empty passwords or + # passwords that are ASCII only (no unicode) minus comma + # and period from the special character set. 'complexity': { 'length': 0, 'upper:count': 2,