8000 RememberMe logout handler not auto registered · Issue #6751 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
RememberMe logout handler not auto registered #6751
Closed
@michelsalib

Description

@michelsalib

I am currently implementing the remember me functionality. The REMEMBERME cookie is correctly set, but the logout fails.

What happens is that the LogoutListener is first called on the GetResponseEvent, but when comming here there is no token in the context, so the remember me logout is not called and does not delete the cookie. On the same listener routine, the remember me service is called later on and thus identifies the user.

Am I doing something wrong, or the listening sequence is wrong ?

EDIT I fixed the issue here, but it was because the remember me service is not registered as a logout handler automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0