mirror of https://github.com/pixelfed/pixelfed
Add csrf-token meta to anon and app-guest layouts
These guest layouts also load app.js, which reads the csrf-token meta tag to set the axios X-CSRF-TOKEN header. Without it, they logged the same 'CSRF token not found' console error and had no CSRF header for AJAX requests. Adds the meta tag to match the other layouts.pull/6919/head
parent
32e391d267
commit
ea1a629b1a
Loading…
Reference in New Issue