summary refs log tree commit diff
path: root/synapse/res/templates/sso_account_deactivated.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_account_deactivated.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_account_deactivated.html')
-rw-r--r--synapse/res/templates/sso_account_deactivated.html26
1 files changed, 20 insertions, 6 deletions
diff --git a/synapse/res/templates/sso_account_deactivated.html b/synapse/res/templates/sso_account_deactivated.html
index 4eb8db9fb4..50a0979c2f 100644
--- a/synapse/res/templates/sso_account_deactivated.html
+++ b/synapse/res/templates/sso_account_deactivated.html
@@ -1,10 +1,24 @@
 <!DOCTYPE html>
 <html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <title>SSO account deactivated</title>
-</head>
-    <body>
-        <p>This account has been deactivated.</p>
+    <head>
+        <meta charset="UTF-8">
+        <title>SSO account deactivated</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>Your account has been deactivated</h1>
+            <p>
+                <strong>No account found</strong>
+            </p>
+            <p>
+                Your account might have been deactivated by the server administrator.
+                You can either try to create a new account or contact the server’s
+                administrator.
+            </p>
+        </header>
     </body>
 </html>