Skip to content

Improve CSRF documentation and generation #501

Description

@aronerben
  • Mention that the default __Host prefix only works with HTTPS, so testing on HTTP localhost with production won't work
  • Change <input type="hidden" name="csrf" value=.../> to <input type="hidden" name="_csrf" value=.../> here
  • Fix the admin UI CSRF name here to use the CSRF middleware parameter

Metadata

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