# To get started with security, check out the documentation: # https://symfony.com/doc/current/security.html security: encoders: AppBundle\Entity\Player: bcrypt # https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded providers: users: entity: class: AppBundle\Entity\Player property: username in_memory: memory: ~ firewalls: # disables authentication for assets and the profiler, adapt it according to your needs dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: pattern: "^/" provider: users anonymous: ~ form_login: check_path: player_signin login_path: player_signin default_target_path: homepage_locale logout: path: player_logout target: homepage_locale # anonymous: ~ # activate different ways to authenticate # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate #http_basic: ~ # https://symfony.com/doc/current/security/form_login_setup.html #form_login: ~