diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-09-14 09:05:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 09:05:36 -0400 |
commit | 6605470bfb8944d369b8fc73195a380b95b6de9d (patch) | |
tree | 5c95a32327b9f4d87ccfe003c843cae7ef4b5616 /synapse/handlers/oidc_handler.py | |
parent | Add experimental support for sharding event persister. Again. (#8294) (diff) | |
download | synapse-6605470bfb8944d369b8fc73195a380b95b6de9d.tar.xz |
Improve SAML error messages (#8248)
Diffstat (limited to 'synapse/handlers/oidc_handler.py')
-rw-r--r-- | synapse/handlers/oidc_handler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/oidc_handler.py b/synapse/handlers/oidc_handler.py index 1b06f3173f..4230dbaf99 100644 --- a/synapse/handlers/oidc_handler.py +++ b/synapse/handlers/oidc_handler.py @@ -131,10 +131,10 @@ class OidcHandler: def _render_error( self, request, error: str, error_description: Optional[str] = None ) -> None: - """Renders the error template and respond with it. + """Render the error template and respond to the request with it. This is used to show errors to the user. The template of this page can - be found under ``synapse/res/templates/sso_error.html``. + be found under `synapse/res/templates/sso_error.html`. Args: request: The incoming request from the browser. |