From 13d9e3d66c305b5b495bb1ee7eab14331e146802 Mon Sep 17 00:00:00 2001 From: Jan Meinl Date: Sun, 17 May 2026 06:37:29 +0200 Subject: [PATCH] Reduce maximum login attempts to improve security --- auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.go b/auth.go index 4581286..8a5e2c4 100644 --- a/auth.go +++ b/auth.go @@ -86,7 +86,7 @@ var ( loginAttempts_ = map[string]*loginAttempts{} ) -const loginMaxAttempts = 8 +const loginMaxAttempts = 4 const loginWindow = 5 * time.Minute func clientIP(r *http.Request) string {