fix: unused param and missing return

This commit is contained in:
Florian Sylvain
2025-11-17 19:51:38 +01:00
parent 83a1dec8ae
commit f47f145b6c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -133,6 +133,7 @@ func login(w http.ResponseWriter, r *http.Request) {
dbUser, err := GetUserFromCredentials(credentials)
if err != nil {
http.Error(w, LogsErrorMessage, http.StatusForbidden)
return
}
_ = SetJwtCookie(&w, dbUser.ID)