From 78e8f597ff28f1b8406f5cfbf934adc22abdf85b Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Tue, 20 Jan 2026 15:18:57 -1000 Subject: Add CSRF protection and auth unit tests Add CSRF token middleware for state-changing request protection, integrate tokens into templates and HTMX headers, and add unit tests for authentication service and handlers. Co-Authored-By: Claude Opus 4.5 --- web/templates/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/templates/index.html') diff --git a/web/templates/index.html b/web/templates/index.html index 54bb0c6..c270b48 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -6,7 +6,7 @@ Personal Dashboard - +
@@ -20,6 +20,7 @@ Refresh
+