diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-12-04 08:25:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 08:25:15 -0500 |
commit | 22c6c19f91d7325c82eddfada696826adad69e5b (patch) | |
tree | 7948c3f80aff6ad6f2ff11e2a56676a70c3346b5 /synapse/handlers/oidc_handler.py | |
parent | Remove version pin prometheus_client dependency (#8875) (diff) | |
download | synapse-22c6c19f91d7325c82eddfada696826adad69e5b.tar.xz |
Fix a regression that mapping providers should be able to redirect users. (#8878)
This was broken in #8801.
Diffstat (limited to 'synapse/handlers/oidc_handler.py')
-rw-r--r-- | synapse/handlers/oidc_handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/oidc_handler.py b/synapse/handlers/oidc_handler.py index 55c4377890..c605f7082a 100644 --- a/synapse/handlers/oidc_handler.py +++ b/synapse/handlers/oidc_handler.py @@ -888,7 +888,7 @@ class OidcHandler(BaseHandler): # continue to already be in use. Note that the error raised is # arbitrary and will get turned into a MappingException. if failures: - raise RuntimeError( + raise MappingException( "Mapping provider does not support de-duplicating Matrix IDs" ) |