about summary refs log tree commit diff stats
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-03-22 08:50:14 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-03-22 08:50:14 +0300
commitd631b404fb51fe7b1f756bb196a22742a5114d5e (patch)
treee4d161b6dc4d9bba12411937983b6889fa7d80b1 /backend.php
parentbd3ea4b967c4d9c975631d7ea35096a56a126289 (diff)
downloadthe-epube-d631b404fb51fe7b1f756bb196a22742a5114d5e.tar.gz
the-epube-d631b404fb51fe7b1f756bb196a22742a5114d5e.tar.xz
more classy-related fixes, add getlastread to csrf ignored because fetch() uses it
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 945f0c0..a08c345 100644
--- a/backend.php
+++ b/backend.php
@@ -28,7 +28,7 @@
 	$op = $_REQUEST["op"] ?? "";
 
 	if (!empty($_SESSION['owner'])) {
-		$csrf_ignore = [ "cover", "download", "getpagination" ];
+		$csrf_ignore = [ "cover", "download", "getpagination", "getlastread" ];
 
 		$csrf_token = $_POST['csrf_token'] ?? "";