Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSRF Token mismatch error for bootstrap-5 theme #457

Open
nick-nds opened this issue Apr 14, 2024 · 0 comments
Open

CSRF Token mismatch error for bootstrap-5 theme #457

nick-nds opened this issue Apr 14, 2024 · 0 comments

Comments

@nick-nds
Copy link

  • 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.
nick-nds added a commit to nick-nds/LogViewer that referenced this issue Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant