ajout param enabled 2fa, trusted headers
Some checks failed
Cadoles/hydra-sql/pipeline/head There was a failure building this commit

This commit is contained in:
2025-09-19 11:32:11 +02:00
parent 148f05ef79
commit 6667f44aac
5 changed files with 37 additions and 16 deletions

View File

@@ -29,7 +29,14 @@ framework:
php_errors:
log: true
error_controller: App\Controller\CustomErrorController::show
trusted_headers:
[
"x-forwarded-for",
"x-forwarded-host",
"x-forwarded-proto",
"x-forwarded-port",
"x-forwarded-prefix",
]
when@test:
framework:
test: true

View File

@@ -53,6 +53,7 @@ services:
$baseUrl: '%base_url%'
App\Controller\MainController:
arguments:
$url2fa: '%env(string:URL_2FA)%'
$enabled2fa: '%env(bool:ENABLED_2FA)%'
App\SQLLogin\SQLLoginRequest:
arguments: