Skip to content

Invalid form data for user are stored in token #26194

@Shoplifter

Description

@Shoplifter
Q A
Bug report? yes
Feature request? no
BC Break report? ?
RFC? no
Symfony version 4.0.4

I am using Guard and an Authenticator extending the AbstractFormLoginAuthenticator.
I am logged in and edit my own user account in an user administration form and submit.
Some constraint fails (e.g. a required field left blank) - I get the form with error message, but am logged out. Therefore the next request redirects me to the login page.

I used the (almost) same code in a former project with Symfony 3.3 where this bug did not occur.
(only difference now is the new supports method to be implemented, which former was a part of getCredentials)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy