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

Commit 31c6b30

Browse files
authored
Fix import of the default SAML mapping provider. (#10477)
Fix a circular import, which was causing exceptions on boot if SAML was configured.
1 parent 10dcfae commit 31c6b30

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

changelog.d/10477.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix bug introduced in Synapse 1.38 which caused an exception at startup when SAML authentication was enabled.

synapse/handlers/_base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
import logging
1616
from typing import TYPE_CHECKING, Optional
1717

18-
import synapse.state
19-
import synapse.storage
2018
import synapse.types
2119
from synapse.api.constants import EventTypes, Membership
2220
from synapse.api.ratelimiting import Ratelimiter

0 commit comments

Comments
 (0)