mirror of https://github.com/pixelfed/pixelfed
Fix CSRF token not found error on guest pages (login/register)
The app layout renders separate head blocks for auth vs guest users. The guest block was missing the <meta name="csrf-token"> tag that app.js reads to set the axios X-CSRF-TOKEN header, causing a console error on the login and register pages. Add the meta tag to the guest head to match the authenticated head block.pull/6919/head
parent
88d4713b8d
commit
32e391d267
Loading…
Reference in New Issue