Created
January 25, 2011 08:53
-
-
Save rande/794684 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#config.yml | |
security.config: | |
providers: | |
fos_user: | |
id: fos_user.user_manager | |
firewalls: | |
admin: | |
pattern: /admin/.* | |
form_login: true | |
public: | |
pattern: /.* | |
security: false | |
fos_user.config: | |
db_driver: orm # can be orm or odm | |
class: | |
model: | |
user: Application\FOS\UserBundle\Entity\User # you must define your own user class | |
#routing.yml | |
fos_user: | |
resource: @FOSUserBundle/Resources/config/routing/user.xml | |
prefix: /user | |
fos_user_security: | |
resource: @FOSUserBundle/Resources/config/routing/security.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment