php - symfony Invalid credentials memory provider -
im trying login user defined in memory section got error invalid credentials, here security.yml
security: encoders: symfony\component\security\core\user\user: plaintext # https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded providers: in_memory: memory: users: user: password: 1234 roles: 'role_user' root: password: 1234 roles: 'role_admin' firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: pattern: ^/ anonymous: true form_login: login_path: login check_path: login logout: path: logout target: homepage access_control: - { path: ^/login, roles: is_authenticated_anonymously } - { path: ^/, roles: role_admin }
so problem? :|
Comments
Post a Comment