ajout param enabled 2fa, trusted headers
Some checks failed
Cadoles/hydra-sql/pipeline/head There was a failure building this commit
Some checks failed
Cadoles/hydra-sql/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user