summary refs log tree commit diff
path: root/synapse/res/templates/sso_auth_bad_user.html
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-02-01 18:01:15 +0000
committerGitHub <noreply@github.com>2021-02-01 18:01:15 +0000
commit419313b06ab21d60773fd95782c655ff79742f06 (patch)
treea1e27ce456b3e3050c8e8bce2d0f142e36cf8aed /synapse/res/templates/sso_auth_bad_user.html
parentMake importing display name and email optional (#9277) (diff)
downloadsynapse-419313b06ab21d60773fd95782c655ff79742f06.tar.xz
Improve styling and wording of SSO error templates (#9287)
Diffstat (limited to 'synapse/res/templates/sso_auth_bad_user.html')
-rw-r--r--synapse/res/templates/sso_auth_bad_user.html27
1 files changed, 17 insertions, 10 deletions
diff --git a/synapse/res/templates/sso_auth_bad_user.html b/synapse/res/templates/sso_auth_bad_user.html
index 3611191bf9..a75c73a142 100644
--- a/synapse/res/templates/sso_auth_bad_user.html
+++ b/synapse/res/templates/sso_auth_bad_user.html
@@ -1,18 +1,25 @@
-<html>
-<head>
-    <title>Authentication Failed</title>
-</head>
-    <body>
-        <div>
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="UTF-8">
+        <title>Authentication failed</title>
+        <meta name="viewport" content="width=device-width, user-scalable=no">
+        <style type="text/css">
+            {% include "sso.css" without context %}
+        </style>
+    </head>
+    <body class="error_page">
+        <header>
+            <h1>That doesn't look right</h1>
             <p>
-                We were unable to validate your <tt>{{server_name | e}}</tt> account via
-                single-sign-on (SSO), because the SSO Identity Provider returned
-                different details than when you logged in.
+                <strong>We were unable to validate your {{ server_name | e }} account</strong>
+                via single&nbsp;sign&#8209;on&nbsp;(SSO), because the SSO Identity
+                Provider returned different details than when you logged in.
             </p>
             <p>
                 Try the operation again, and ensure that you use the same details on
                 the Identity Provider as when you log into your account.
             </p>
-        </div>
+        </header>
     </body>
 </html>