Código yml:
Ver original
providers: admin: entity: class: PPPCanBundle:Usuario property: usuario customer: entity: class: PPPCanBundle:Propietario property: username firewalls: admin: anonymous: ~ http_basic: ~ form_login: login_path: /login check_path: /login_check # field names for the username and password fields: username_parameter: _usuario password_parameter: _contrasena # default_target_path: default_security_target # always_use_default_target_path: true logout: path: /logout target: /login customer: anonymous: ~ http_basic: ~ form_login: login_path: /login1 check_path: /login_check1 # field names for the username and password fields: username_parameter: _username password_parameter: _password # default_target_path: default_security_target # always_use_default_target_path: true logout: path: /logout1 target: /login1