ARCANEDEV/LogViewer

CSRF Token mismatch error for bootstrap-5 theme

nick-nds opened this issue · 0 comments

  • 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.