FOSUserBundle: Using BCrypt Password Encoder
In security.yml file:
security:
encoders:
FOS\UserBundle\Model\UserInterface:
algorithm: bcrypt
cost: 15
Reference:
http://symfony.com/doc/2.3/reference/configuration/security.html#reference-security-bcrypt
- The BCrypt password encoder was introduced in Symfony 2.2.
Written by Andréia Bohner
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Security
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#