Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit b9ab999

Browse files
authored
Fixes for develop
Fixes for compatibility with #15582.
1 parent 6f26ca4 commit b9ab999

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

synapse/config/experimental.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,10 @@ def check_config_conflicts(self, root: RootConfig) -> None:
192192
("captcha", "enable_registration_captcha"),
193193
)
194194

195-
if root.experimental.msc3882_enabled:
195+
if root.auth.login_via_existing_enabled:
196196
raise ConfigError(
197-
"MSC3882 cannot be enabled when OAuth delegation is enabled",
198-
("experimental_features", "msc3882_enabled"),
197+
"Login via existing session cannot be enabled when OAuth delegation is enabled",
198+
("login_via_existing_session", "enabled"),
199199
)
200200

201201
if root.registration.refresh_token_lifetime:

0 commit comments

Comments
 (0)