diff options
author | Richard van der Hoff <richard@matrix.org> | 2021-02-01 18:46:12 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2021-02-01 18:46:12 +0000 |
commit | 5963426b957d9f312817e0f3e4f44b753f8e2398 (patch) | |
tree | 217afd1d90cc7c0cb217158e5849dc011fbea5c4 /synapse/res/templates/sso_auth_success.html | |
parent | Refactor email summary generation. (#9260) (diff) | |
parent | make primary button not wider than viewport (diff) | |
download | synapse-5963426b957d9f312817e0f3e4f44b753f8e2398.tar.xz |
Merge branch 'social_login' into develop
Diffstat (limited to 'synapse/res/templates/sso_auth_success.html')
-rw-r--r-- | synapse/res/templates/sso_auth_success.html | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/synapse/res/templates/sso_auth_success.html b/synapse/res/templates/sso_auth_success.html index 03f1419467..3b975d7219 100644 --- a/synapse/res/templates/sso_auth_success.html +++ b/synapse/res/templates/sso_auth_success.html @@ -1,18 +1,27 @@ -<html> -<head> - <title>Authentication Successful</title> - <script> - if (window.onAuthDone) { - window.onAuthDone(); - } else if (window.opener && window.opener.postMessage) { - window.opener.postMessage("authDone", "*"); - } - </script> -</head> +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="UTF-8"> + <title>Authentication successful</title> + <meta name="viewport" content="width=device-width, user-scalable=no"> + <style type="text/css"> + {% include "sso.css" without context %} + </style> + <script> + if (window.onAuthDone) { + window.onAuthDone(); + } else if (window.opener && window.opener.postMessage) { + window.opener.postMessage("authDone", "*"); + } + </script> + </head> <body> - <div> - <p>Thank you</p> - <p>You may now close this window and return to the application</p> - </div> + <header> + <h1>Thank you</h1> + <p> + Now we know it’s you, you can close this window and return to the + application. + </p> + </header> </body> </html> |