diff --git a/api/src/auth/Login.go b/api/src/auth/Login.go index 370cfe8..d1964e8 100644 --- a/api/src/auth/Login.go +++ b/api/src/auth/Login.go @@ -48,9 +48,10 @@ func Login(w http.ResponseWriter, r *http.Request) { Value: tokenString, Expires: expirationtime, }) + w.WriteHeader(http.StatusOK) } func checkPasswordHash(password, hash string) bool { err := bcrypt.CompareHashAndPassword([]byte(hash), []byte(password)) return err == nil -} +} \ No newline at end of file