Permalink
Browse files

Configure a password encoder for FOS

  • Loading branch information...
1 parent e5c4e1e commit 07f5e48c8d2d365c65358d474aaa140536f87b95 @cedriclombardot committed May 12, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 backend/config/security.yml
  2. +1 −0 frontend/config/security.yml
@@ -5,6 +5,7 @@ jms_security_extra:
security:
encoders:
Symfony\Component\Security\Core\User\User: plaintext
+ FOS\UserBundle\Model\UserInterface: sha512
role_hierarchy:
ROLE_ADMIN: ROLE_USER
@@ -5,6 +5,7 @@ jms_security_extra:
security:
encoders:
Symfony\Component\Security\Core\User\User: plaintext
+ FOS\UserBundle\Model\UserInterface: sha512
role_hierarchy:
ROLE_ADMIN: ROLE_USER

0 comments on commit 07f5e48

Please sign in to comment.