feat(altcha): add altcha validation layer to login
Some checks are pending
Cadoles/hydra-sql/pipeline/pr-develop Build started...
Some checks are pending
Cadoles/hydra-sql/pipeline/pr-develop Build started...
This commit is contained in:
@ -75,3 +75,23 @@ services:
|
||||
$securityPattern: '%security_pattern%'
|
||||
# add more service definitions when explicit configuration is needed
|
||||
# please note that last definitions always *replace* previous ones
|
||||
|
||||
App\Altcha\Form\AltchaType:
|
||||
arguments:
|
||||
$altchaHost: "%env(ALTCHA_HOST)%"
|
||||
$altchaBaseUrl: "%env(ALTCHA_BASE_URL)%"
|
||||
$altchaDebug: "%env(bool:ALTCHA_DEBUG)%"
|
||||
$altchaWorkers: "%env(ALTCHA_WORKERS)%"
|
||||
$altchaDelay: "%env(ALTCHA_DELAY)%"
|
||||
$altchaMockError: "%env(bool:ALTCHA_MOCK_ERROR)%"
|
||||
tags:
|
||||
- { name: form.type, alias: altcha}
|
||||
|
||||
App\Form\LoginType:
|
||||
arguments:
|
||||
$altchaEnabled: "%env(bool:ALTCHA_ENABLED)%"
|
||||
|
||||
App\Altcha\AltchaValidator:
|
||||
arguments:
|
||||
$altchaHost: "%env(ALTCHA_HOST)%"
|
||||
$altchaBaseUrl: "%env(ALTCHA_BASE_URL)%"
|
||||
|
Reference in New Issue
Block a user