diff options
author | Half-Shot <will@half-shot.uk> | 2023-09-14 16:06:43 +0100 |
---|---|---|
committer | Half-Shot <will@half-shot.uk> | 2023-09-14 16:06:43 +0100 |
commit | 1ebf8ba26927f881bea3a01a6532601fe87b7ea5 (patch) | |
tree | 2d51eddb3e9c06e798f79683308637f15542f32b /synapse/handlers/sso.py | |
parent | Filter out unwanted user_agents from udv. (#16124) (diff) | |
download | synapse-1ebf8ba26927f881bea3a01a6532601fe87b7ea5.tar.xz |
Default emails_to_use when not set. github/hs/default_emails_to_use hs/default_emails_to_use
Diffstat (limited to 'synapse/handlers/sso.py')
-rw-r--r-- | synapse/handlers/sso.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/sso.py b/synapse/handlers/sso.py index e9a544e754..24a93ddf2a 100644 --- a/synapse/handlers/sso.py +++ b/synapse/handlers/sso.py @@ -653,6 +653,8 @@ class SsoHandler: remote_user_id=remote_user_id, display_name=attributes.display_name, emails=attributes.emails, + # Default to using all mapped emails. Will be overwritten in handle_submit_username_request. + emails_to_use=attributes.emails, client_redirect_url=client_redirect_url, expiry_time_ms=now + self._MAPPING_SESSION_VALIDITY_PERIOD_MS, extra_login_attributes=extra_login_attributes, |