diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-12-02 07:09:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-02 07:09:21 -0500 |
commit | c21bdc813f5c21153cded05bcd0a57b5836f09fe (patch) | |
tree | a3e8d34903997be9dc4c8cfa16c713d2dc5ce1ab /synapse/handlers/saml_handler.py | |
parent | Create a `PasswordProvider` wrapper object (#8849) (diff) | |
download | synapse-c21bdc813f5c21153cded05bcd0a57b5836f09fe.tar.xz |
Add basic SAML tests for mapping users. (#8800)
Diffstat (limited to 'synapse/handlers/saml_handler.py')
-rw-r--r-- | synapse/handlers/saml_handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/saml_handler.py b/synapse/handlers/saml_handler.py index 34db10ffe4..7ffad7d8af 100644 --- a/synapse/handlers/saml_handler.py +++ b/synapse/handlers/saml_handler.py @@ -265,7 +265,7 @@ class SamlHandler(BaseHandler): return UserAttributes( localpart=result.get("mxid_localpart"), display_name=result.get("displayname"), - emails=result.get("emails"), + emails=result.get("emails", []), ) with (await self._mapping_lock.queue(self._auth_provider_id)): |