Skip to content

Writing a warning when antiforgery token is missing in session. #24

@pavel-klavik

Description

@pavel-klavik

I made a mistake in the handler which erased anti-forgery token from the session. I was getting error that I have invalid antiforgery token from the client, which was quite confusing. I propose adding some warning when anti-forgery middleware is used but the token is missing in the session, so it is more clear that the problem is not on the client.

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