I am learning 'Symfony2' and I was following this:
But, when I make the changes in security.yml as mentioned in the document, I get the following error:
[Symfony\Component\Debug\Exception\ContextErrorException] Notice: Undefined index: algorithm
This is the code which is giving me the error:
# app/config/security.yml
security:
encoders:
AppBundle\Entity\User:
algorithm: bcrypt
Please help me with this. It should not show an error as it is in Symfony2 Docs.
composer self-updatefirst - Nemutaisama