0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-09-09 03:11:55 +02:00

better logging

This commit is contained in:
Richard van der Hoff 2019-09-19 17:16:50 +01:00
parent b9d57502da
commit 7423fade92

View file

@ -111,6 +111,8 @@ class SamlHandler:
logger.warning("SAML2 response was not signed")
raise SynapseError(400, "SAML2 response was not signed")
logger.info("Got SAML2 reponse with attributes: %s", saml2_auth.ava)
try:
remote_user_id = saml2_auth.ava["uid"][0]
except KeyError: