Why remember_me does not work in Symphony?

After navigating to any page or refresh the page, the authorization flies.

security.yml:
security:

 # http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
providers:
webservice:
 id: app.webservice_user_provider
# 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:
 anonymous: ~
form_login:
 login_path: login
 check_path: login
 remember_me: true
remember_me:
 secret: '%secret%'
 lifetime: 31536000 # 365 days in seconds
 path: /
 always_remember_me: true
 domain: ~
logout:
 path: /logout
 target: /

wsse_secured:
 pattern: ^/
 stateless: true
 wsse: true

access_control:
# - { path: ^/rebates, roles: ROLE_USER }
 # require ROLE_ADMIN for /admin*
role_hierarchy:
 ROLE_USER: []

encoders:
 PABundle\Security\User\WebserviceUser: plaintext


The second day can't find the cause
July 8th 19 at 16:23

Find more questions by tags Symfony