maybe fix??

This commit is contained in:
Uumas
2021-10-27 23:17:07 +03:00
parent 19566bd601
commit 65d78bd2a6

View File

@@ -60,7 +60,7 @@ class SAMLMappingProviderProtuEdition:
self._mxid_mapper = parsed_config.mxid_mapper self._mxid_mapper = parsed_config.mxid_mapper
self._grandfathered_mxid_source_attribute = ( self._grandfathered_mxid_source_attribute = (
module_api._hs.config.saml2_grandfathered_mxid_source_attribute module_api._hs.config.saml2.saml2_grandfathered_mxid_source_attribute
) )
def get_remote_user_id( def get_remote_user_id(
@@ -156,4 +156,4 @@ class SAMLMappingProviderProtuEdition:
second set consists of those attributes which can be used if second set consists of those attributes which can be used if
available, but are not necessary available, but are not necessary
""" """
return {"uid", config.mxid_source_attribute}, {"displayName", "email"} return {"uid", config.mxid_source_attribute}, {"displayName", "email"}