mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 06:34:56 -04:00
Improve SAML error messages (#8248)
This commit is contained in:
parent
04cc249b43
commit
6605470bfb
9 changed files with 178 additions and 185 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue