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 --- .gitignore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 3d7b311..673e258 100644 --- a/.gitignore +++ b/.gitignore @@ -4,8 +4,7 @@ *.dll *.so *.dylib -cmd/dashboard/dashboard -dashboard + # Test binary, built with `go test -c` *.test -- cgit v1.2.3