mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 23:56:29 +03:00
45 lines
1.8 KiB
JSON
45 lines
1.8 KiB
JSON
{
|
|
"manifests": {
|
|
"scheb/two-factor-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Scheb\\TwoFactorBundle\\SchebTwoFactorBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/scheb_two_factor.yaml": {
|
|
"contents": [
|
|
"# See the configuration reference at https://github.com/scheb/two-factor-bundle/blob/master/Resources/doc/configuration.md",
|
|
"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",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/routes/scheb_two_factor.yaml": {
|
|
"contents": [
|
|
"2fa_login:",
|
|
" path: /2fa",
|
|
" defaults:",
|
|
" _controller: \"scheb_two_factor.form_controller:form\"",
|
|
"",
|
|
"2fa_login_check:",
|
|
" path: /2fa_check",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "b5789cd9710e2ee555bf361079b991068a0f640b"
|
|
}
|
|
}
|
|
}
|