Next major version 2 with PHP 8.1, Symfony 6, Tabler UI, 2FA ... (#2902)

This commit is contained in:
Kevin Papst
2022-12-31 21:19:55 +01:00
committed by GitHub
parent 95e06746bd
commit 90a0fd8a22
2164 changed files with 83700 additions and 86426 deletions

View File

@@ -1,3 +1,45 @@
controllers:
resource: ../src/Controller/
type: annotation
prefix: /{_locale}
requirements:
_locale: '%app_locales%'
defaults:
_locale: '%locale%'
api.swagger_ui:
path: /api/doc
methods: GET
defaults: { _controller: nelmio_api_doc.controller.swagger_ui }
api.swagger:
path: /api/doc.json
methods: GET
defaults: { _controller: nelmio_api_doc.controller.swagger }
api:
resource: ../src/API/
type: annotation
prefix: /api
auth:
resource: ../src/Controller/Auth/
type: annotation
prefix: /auth
security:
resource: ../src/Controller/Security/
type: annotation
prefix: /{_locale}
requirements:
_locale: '%app_locales%'
defaults:
_locale: '%locale%'
kernel:
resource: ../src/Kernel.php
type: annotation
home:
path: /
defaults:
@@ -14,3 +56,11 @@ homeLocale:
_locale: '%locale%'
route: homepage
permanent: true
2fa_login:
path: /{_locale}/auth/2fa
defaults:
_controller: "scheb_two_factor.form_controller::form"
2fa_login_check:
path: /{_locale}/auth/2fa_check