From fd1b91b37d1fdf506305798704c8e5c3c6290564 Mon Sep 17 00:00:00 2001 From: joerg kost Date: Tue, 31 Aug 2021 20:13:34 +0200 Subject: [PATCH] - delay for bad login --- http.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/http.go b/http.go index 14cf1c1..b15a7fd 100644 --- a/http.go +++ b/http.go @@ -162,6 +162,9 @@ func login(writer http.ResponseWriter, request *http.Request, H sattypes.BaseHan return } // login did not work, password mismatch + // delay + time.Sleep(time.Second * 3) + // clean session and jump back to main template cleanAndTemplate(2, err) return }