Skip to content

ActionController::InvalidAuthenticityToken on sign-in failure #5829

Description

@pschrammel

Rails 8.1.2
Ruby 3.3.6
Devise 4.9.4

Behaviour

When providing a wrong password on login the application throws a ActionController::InvalidAuthenticityToken exception.

Expected

Show errors in the form

Details

Image

Request Parameters:

{"authenticity_token"=>"[FILTERED]", "account"=>{"email"=>"[FILTERED]", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in", "locale"=>"de"}`

Tried

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions