I am new with Symfony4, and creating Login Form with FOSUserBundle. And I got stuck at step 5 mentioned in this article. When it says:
Add the following configuration to your config.yml file according to which type of datastore you are using.
# app/config/config.yml
fos_user:
db_driver: orm # other valid values are 'mongodb' and 'couchdb'
firewall_name: main
user_class: AppBundle\Entity\User
from_email:
address: "%mailer_user%"
sender_name: "%mailer_user%"
The problem is that in symfony4, there is no app
folder, and no simple config.yml
file in config folder.
I think this article might be working with older versions, but for Symfony4, it may need some amendments.
Can any body suggest how to fix it?
Why not to create it config/packages/fos.yaml
?
Or add in one of existing config/packages/foo.yaml
?
https://symfony.com/doc/current/configuration.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With