From 32e391d2678fcbd56f3764211efa430d3eb2aa44 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 29 Aug 2026 15:42:08 +0930 Subject: [PATCH] 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 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. --- resources/views/layouts/app.blade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 7cc95981f..f39e5283c 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -68,6 +68,7 @@ + {{ $title ?? config_cache('app.name', 'Pixelfed') }}