mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 23:56:25 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"manifests": {
|
||||
"scheb/2fa-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Scheb\\TwoFactorBundle\\SchebTwoFactorBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/scheb_2fa.yaml": {
|
||||
"contents": [
|
||||
"# See the configuration reference at https://symfony.com/bundles/SchebTwoFactorBundle/5.x/configuration.html",
|
||||
"scheb_two_factor:",
|
||||
" security_tokens:",
|
||||
" - Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken",
|
||||
" # If you're using guard-based authentication, you have to use this one:",
|
||||
" # - Symfony\\Component\\Security\\Guard\\Token\\PostAuthenticationGuardToken",
|
||||
" # If you're using authenticator-based security (introduced in Symfony 5.1), you have to use this one:",
|
||||
" # - Symfony\\Component\\Security\\Http\\Authenticator\\Token\\PostAuthenticationToken",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/scheb_2fa.yaml": {
|
||||
"contents": [
|
||||
"2fa_login:",
|
||||
" path: /2fa",
|
||||
" defaults:",
|
||||
" _controller: \"scheb_two_factor.form_controller::form\"",
|
||||
"",
|
||||
"2fa_login_check:",
|
||||
" path: /2fa_check",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "0a83961ef50ff91812b229a6f0caf28431d94aec"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"manifests": {
|
||||
"scheb/2fa-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Scheb\\TwoFactorBundle\\SchebTwoFactorBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/scheb_2fa.yaml": {
|
||||
"contents": [
|
||||
"# See the configuration reference at https://symfony.com/bundles/SchebTwoFactorBundle/6.x/configuration.html",
|
||||
"scheb_two_factor:",
|
||||
" security_tokens:",
|
||||
" - Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken",
|
||||
" - Symfony\\Component\\Security\\Http\\Authenticator\\Token\\PostAuthenticationToken",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/scheb_2fa.yaml": {
|
||||
"contents": [
|
||||
"2fa_login:",
|
||||
" path: /2fa",
|
||||
" defaults:",
|
||||
" _controller: \"scheb_two_factor.form_controller::form\"",
|
||||
"",
|
||||
"2fa_login_check:",
|
||||
" path: /2fa_check",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "1e6f68089146853a790b5da9946fc5974f6fcd49"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user