mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31,7 +31,7 @@
|
||||
"2fa_login:",
|
||||
" path: /2fa",
|
||||
" defaults:",
|
||||
" _controller: \"scheb_two_factor.form_controller:form\"",
|
||||
" _controller: \"scheb_two_factor.form_controller::form\"",
|
||||
"",
|
||||
"2fa_login_check:",
|
||||
" path: /2fa_check",
|
||||
@@ -40,7 +40,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "ccdcd64169a0420507e9f6af85da457026c11e03"
|
||||
"ref": "0a83961ef50ff91812b229a6f0caf28431d94aec"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"2fa_login:",
|
||||
" path: /2fa",
|
||||
" defaults:",
|
||||
" _controller: \"scheb_two_factor.form_controller:form\"",
|
||||
" _controller: \"scheb_two_factor.form_controller::form\"",
|
||||
"",
|
||||
"2fa_login_check:",
|
||||
" path: /2fa_check",
|
||||
@@ -37,7 +37,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "10513e776d7ac66b21e58d08bf34643434bcf3ab"
|
||||
"ref": "1e6f68089146853a790b5da9946fc5974f6fcd49"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user