mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-19 02:56:26 +03:00
19 lines
635 B
Plaintext
19 lines
635 B
Plaintext
<bg=blue;fg=white> </>
|
|
<bg=blue;fg=white> What's next? </>
|
|
<bg=blue;fg=white> </>
|
|
|
|
Warning: make sure the twig engine is turned on in framework.yaml
|
|
|
|
- Modify your address config in <fg=green>config/packages/fos_user.yaml</>
|
|
|
|
- If not, add the following to <fg=green>config/packages/framework.yaml</>:
|
|
|
|
framework:
|
|
# ...
|
|
csrf_protection: { enabled: true }
|
|
templating:
|
|
engines: ['twig']
|
|
|
|
- Modify your security configuration in <fg=green>config/packages/security.yaml</>
|
|
https://symfony.com/doc/2.0/bundles/FOSUserBundle/index.html#step-4-configure-your-application-s-security-yml
|