Add CoopTilleulsForgotPasswordBundle recipe

This commit is contained in:
Vincent CHALAMON
2017-12-22 16:49:42 +01:00
parent a2baf461ce
commit e83d545fbc
3 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# Read the documentation: https://github.com/coopTilleuls/CoopTilleulsForgotPasswordBundle/blob/master/Resources/doc/getting_started.md
coop_tilleuls_forgot_password:
password_token:
class: App\Entity\PasswordToken # required
expires_in: 1 day
user_field: user
serialization_groups: []
user:
class: App\Entity\User # required
email_field: email
password_field: password

View File

@@ -0,0 +1,3 @@
coop_tilleuls_forgot_password:
resource: "@CoopTilleulsForgotPasswordBundle/Resources/config/routing.xml"
prefix: /forgot_password

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"CoopTilleuls\\ForgotPasswordBundle\\CoopTilleulsForgotPasswordBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}