fix: unused param and missing return

This commit is contained in:
Florian Sylvain committed 2025-11-17 19:51:38 +01:00
1 parent 83a1dec8ae
commit f47f145b6c
2 files changed
+2 -1

No files matched your search

+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)