diff --git a/src/routes/admin.js b/src/routes/admin.js index 84f69d4..0cac580 100644 --- a/src/routes/admin.js +++ b/src/routes/admin.js @@ -40,7 +40,7 @@ res .status(301) .set("Location", adminLoginUrl) - .render("pages/redirect", { adminLoginUrl }); + .render("pages/redirect", { layout: "layouts/redirect", adminLoginUrl }); }); module.exports = router; diff --git a/src/views/pages/redirect.handlebars b/src/views/pages/redirect.handlebars index e8d85e3..23bb188 100644 --- a/src/views/pages/redirect.handlebars +++ b/src/views/pages/redirect.handlebars @@ -1,23 +1,5 @@ - - - -
- - -Please wait while we redirect you to the authentication service.
-If you are not redirected automatically, click here.
-Please wait while we redirect you to the authentication service.
+If you are not redirected automatically, click here.
+