Skip to content

Commit cfdf56f

Browse files
committed
core: remove frontpage_* pages and templates, replace with redirect
These pages are now handled by the admin module. Add redirects to the new locations.
1 parent e83d304 commit cfdf56f

20 files changed

Lines changed: 15 additions & 985 deletions

modules/core/config/routes/routes.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

modules/core/hooks/hook_frontpage.php

Lines changed: 0 additions & 37 deletions
This file was deleted.

modules/core/routing/routes/routes.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,15 @@ core-warning-shortssointerval:
2222
core-post-redirect:
2323
path: /postredirect
2424
defaults: { _controller: 'SimpleSAML\Module\core\Controller\Redirection:postredirect' }
25+
core-legacy-welcome:
26+
path: /frontpage_welcome.php
27+
defaults: { _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction', path: /admin/, permanent: true }
28+
core-legacy-config:
29+
path: /frontpage_config.php
30+
defaults: { _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction', path: /admin/, permanent: true }
31+
core-legacy-auth:
32+
path: /frontpage_auth.php
33+
defaults: { _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction', path: /admin/test, permanent: true }
34+
core-legacy-federation:
35+
path: /frontpage_federation.php
36+
defaults: { _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction', path: /admin/federation, permanent: true }

modules/core/templates/_frontpage_menu.twig

Lines changed: 0 additions & 31 deletions
This file was deleted.

modules/core/templates/authsource_list.twig

Lines changed: 0 additions & 11 deletions
This file was deleted.

modules/core/templates/frontpage_auth.twig

Lines changed: 0 additions & 18 deletions
This file was deleted.

modules/core/templates/frontpage_config.twig

Lines changed: 0 additions & 52 deletions
This file was deleted.

modules/core/templates/frontpage_federation.twig

Lines changed: 0 additions & 84 deletions
This file was deleted.

modules/core/templates/frontpage_welcome.twig

Lines changed: 0 additions & 15 deletions
This file was deleted.

modules/core/www/authenticate.php

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)