-
-
Notifications
You must be signed in to change notification settings - Fork 669
[WIP] Add recipe for friendsofsymfony/user-bundle #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
4f0c008
850d71b
c6972c6
e129d94
ea9f9d1
18c2122
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Read the documentation: https://symfony.com/doc/master/bundles/FOSUserBundle/index.html | ||
fos_user: | ||
# db_driver: orm # other valid values are 'mongodb' and 'couchdb' | ||
firewall_name: main | ||
# user_class: AppBundle\Entity\User | ||
# from_email: | ||
# address: "%env(MAILER_USER)%" | ||
# sender_name: "%env(MAILER_USER)%" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"bundles": { | ||
"FOS\\RestBundle\\FOSUserBundle": ["all"] | ||
}, | ||
"copy-from-recipe": { | ||
"config/": "%CONFIG_DIR%/" | ||
}, | ||
"env": { | ||
"MAILER_USER": "" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree |
||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead, it's better IMO to directly uncomment
db_driver
,firewall_name
anduser_class
in the recipe as they are all mandatory anyway in the bundle.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, you're right. I changed the config in e129d94