Skip to content

PortAdmin cannot save changes when CSRF protection is enabled #3444

@lunkwill42

Description

@lunkwill42

Testing #3396 reveals that PortAdmin cannot save any changes once CSRF protection is turned on.

Making port configuration changes in PortAdmin and then clicking any Save button (Either Save all or Save on the changed row), because this does not submit a form, but executes several JavaScript XHR POST request to the back-end. These requests will lack the CSRF token that the CSRF middleware requires to accept the requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions