Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- security:
- encoders:
- App\Entity\Usuario:
- algorithm: argon2i
- memory_cost: 2048
- time_cost: 2
- threads: 2
- # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
- providers:
- app_user_provider:
- entity:
- class: App\Entity\Usuario
- #posible error por nombre de property
- property: codusario
- firewalls:
- dev:
- pattern: ^/(_(profiler|wdt)|css|images|js)/
- security: false
- main:
- anonymous: true
- # activate different ways to authenticate
- http_basic: true
- # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate
- form_login:
- login_path: login
- check_path: login
- default_target_path: bandeja
- provider: app_user_provider
- # https://symfony.com/doc/current/security/form_login_setup.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement