Skip to content

CSRF Token mismatch error for bootstrap-5 theme #457

@nick-nds

Description

@nick-nds
  • LogViewer Version: 11.0
  • Laravel Version: 11.0
  • PHP Version: 8.2

Description:

While deleting logs, the DELETE api request made using fetch api throws error, CSRF token mismatch. When I tried to debug, I found CSRF token is not being passed in headers. This issue is only for bootstrap-5 theme.

Steps To Reproduce:

  • Set `theme: 'bootstrap-5' in config.
  • Try to delete logs, the api request will throw error, CSRF token mismatch.

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