Skip to content

Newsletter subcription CSRF verification #435

@cabaktom

Description

@cabaktom

Check if the verification is really not needed.

skip_before_action :verify_authenticity_token, only: [:create]

When the verification is present, going to a link in an incognito tab and submitting the newsletter form fails with Can't verify CSRF token authenticity.

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