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

Commit

Permalink
Fixes for develop
Browse files Browse the repository at this point in the history
Fixes for compatibility with #15582.
  • Loading branch information
clokep authored May 30, 2023
1 parent 6f26ca4 commit b9ab999
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions synapse/config/experimental.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@ def check_config_conflicts(self, root: RootConfig) -> None:
("captcha", "enable_registration_captcha"),
)

if root.experimental.msc3882_enabled:
if root.auth.login_via_existing_enabled:
raise ConfigError(
"MSC3882 cannot be enabled when OAuth delegation is enabled",
("experimental_features", "msc3882_enabled"),
"Login via existing session cannot be enabled when OAuth delegation is enabled",
("login_via_existing_session", "enabled"),
)

if root.registration.refresh_token_lifetime:
Expand Down

0 comments on commit b9ab999

Please sign in to comment.