Skip to content

The CSRF session token is missing. #519

Open
@TomeCirun

Description

Actual Behavior

Everything works fine when the user is logged in, 400 Bad Request happens when I try to log the user in... same behavior is when I try to register a user (csrf_token is missing in the session when the user is anonymous)... have I missed something to configure maybe?

Note: We are not using the wtforms, we have our own custom scheme.

Thanks!

Environment

  • Python version: Python 3.9.12
  • wtforms version: Flask-WTF==1.0.1
  • Flask version: Flask==2.0.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions