Fix import of the default SAML mapping provider. (#10477)

Fix a circular import, which was causing exceptions on boot if SAML
was configured.
pull/10493/head
Jason Robinson 2021-07-27 18:34:15 +03:00 committed by GitHub
parent 10dcfae46f
commit 31c6b30dd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

1
changelog.d/10477.bugfix Normal file
View File

@ -0,0 +1 @@
Fix bug introduced in Synapse 1.38 which caused an exception at startup when SAML authentication was enabled.

View File

@ -15,8 +15,6 @@
import logging
from typing import TYPE_CHECKING, Optional
import synapse.state
import synapse.storage
import synapse.types
from synapse.api.constants import EventTypes, Membership
from synapse.api.ratelimiting import Ratelimiter