Reduce maximum login attempts to improve security

This commit is contained in:
Jan Meinl
2026-05-17 06:37:29 +02:00
parent 570272a777
commit 13d9e3d66c
+1 -1
View File
@@ -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 {