Marcel
548bc60747
fix(admin): include CSRF token on admin trigger/backfill POSTs
...
The four admin actions (trigger-import, generate-thumbnails,
backfill-versions, backfill-file-hashes) were posting bare fetches, so
the backend's CSRF filter would reject them once the protection is on.
Wrap each init with withCsrf() so the X-XSRF-TOKEN header is attached
from the cookie — same pattern other admin actions use.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-28 12:55:34 +02:00
..
2026-05-28 12:55:34 +02:00
2026-05-21 09:31:53 +02:00
2026-05-17 09:45:49 +02:00
2026-05-21 09:31:53 +02:00
2026-05-27 19:42:57 +02:00
2026-05-21 09:31:53 +02:00
2026-05-11 21:50:28 +02:00
2026-05-21 09:31:53 +02:00
2026-05-12 11:35:40 +02:00
2026-05-19 09:23:01 +02:00
2026-05-17 22:49:06 +02:00
2026-05-28 10:39:43 +02:00
2026-05-21 09:31:53 +02:00
2026-05-11 21:50:28 +02:00
2026-05-11 21:50:28 +02:00
2026-05-21 09:31:53 +02:00
2026-05-25 19:29:53 +02:00
2026-05-21 09:31:53 +02:00
2026-05-17 10:27:01 +02:00
2026-05-02 17:43:29 +02:00
2026-05-13 08:02:26 +02:00
2026-05-27 22:16:26 +02:00
2026-05-25 19:03:47 +02:00
2026-05-19 16:52:08 +02:00
2026-05-11 21:50:28 +02:00
2026-05-05 14:40:14 +02:00
2026-05-11 21:50:28 +02:00
2026-05-27 18:50:18 +02:00
2026-05-27 18:50:18 +02:00
2026-05-22 19:19:28 +02:00
2026-05-05 14:53:31 +02:00
2026-04-20 22:42:23 +02:00
2026-05-11 21:50:28 +02:00
2026-05-17 10:24:35 +02:00
2026-05-12 11:35:40 +02:00
2026-05-14 11:07:22 +02:00
2026-05-25 19:45:28 +02:00
2026-05-08 17:13:00 +02:00
2026-05-11 21:50:28 +02:00
2026-05-27 19:54:48 +02:00
2026-05-27 19:42:57 +02:00
2026-05-05 14:35:15 +02:00
2026-05-11 21:50:28 +02:00