From 41e901c8cd755db9ad4623bba4db599eeb130ca4 Mon Sep 17 00:00:00 2001 From: Sebastian Neuser Date: Wed, 27 Nov 2024 18:04:22 +0100 Subject: [PATCH] impr: Clarify comment on (sometimes) optional SSO config values --- synapse/config/sso.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/synapse/config/sso.py b/synapse/config/sso.py index 9c7d15a2357..bd8eadb723c 100644 --- a/synapse/config/sso.py +++ b/synapse/config/sso.py @@ -43,7 +43,8 @@ class SsoAttributeRequirement: """Object describing a single requirement for SSO attributes.""" attribute: str - # If a value is not given, than the attribute must simply exist. + # If neither value nor one_of is given, the attribute must simply exist. This is + # only true for CAS configs which use a different JSON schema than the one below. value: Optional[str] = None one_of: Optional[List[str]] = None