From da55939e0167f640cac8fd07fb88a1221646c400 Mon Sep 17 00:00:00 2001
From: Thijs Kinkhorst <thijs@kinkhorst.com>
Date: Wed, 19 Aug 2020 07:38:31 +0000
Subject: [PATCH] Restore accidentally removed redirects to new module

---
 modules/core/routing/routes/routes.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/modules/core/routing/routes/routes.yml b/modules/core/routing/routes/routes.yml
index 12884b024..83e5e6ff3 100644
--- a/modules/core/routing/routes/routes.yml
+++ b/modules/core/routing/routes/routes.yml
@@ -22,3 +22,15 @@ core-warning-shortssointerval:
 core-post-redirect:
     path:       /postredirect
     defaults:   { _controller: 'SimpleSAML\Module\core\Controller\Redirection:postredirect' }
+core-legacy-welcome:
+    path:       /frontpage_welcome.php
+    defaults:   { _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction', path: /admin/, permanent: true }
+core-legacy-config:
+    path:       /frontpage_config.php
+    defaults:   { _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction', path: /admin/, permanent: true }
+core-legacy-auth:
+    path:       /frontpage_auth.php
+    defaults:   { _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction', path: /admin/test, permanent: true }
+core-legacy-federation:
+    path:       /frontpage_federation.php
+    defaults:   { _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction', path: /admin/federation, permanent: true }
-- 
GitLab