From 188d40cc52329e55afbb3a55be2b94057bedb339 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 22 Jun 2026 19:56:41 +0200 Subject: Remove wrong auth call --- handlers.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/handlers.go b/handlers.go index a0d98e4..df1794a 100644 --- a/handlers.go +++ b/handlers.go @@ -100,12 +100,5 @@ func ApiAuthentication(db *sql.DB) http.Handler { w.WriteHeader(http.StatusBadRequest) return } - - err = Authenticate(db, data.Username, data.Password) - if err != nil { - log.Print("Failed to authenticate user.") - w.WriteHeader(http.StatusUnauthorized) - return - } }) } -- cgit v1.3.1