diff --git a/internal/auth/handlers/auth_handler.go b/internal/auth/handlers/auth_handler.go index 5e495c0..873f2a6 100644 --- a/internal/auth/handlers/auth_handler.go +++ b/internal/auth/handlers/auth_handler.go @@ -6,7 +6,7 @@ import ( "net/http" "time" - "github.com/golang-jwt/jwt" + "github.com/golang-jwt/jwt/v4" apierr "github.com/unkn0wn-root/terraster/internal/auth" "github.com/unkn0wn-root/terraster/internal/auth/models" "github.com/unkn0wn-root/terraster/internal/auth/service" @@ -249,5 +249,5 @@ func (h *AuthHandler) ChangePassword(w http.ResponseWriter, r *http.Request) { return } - w.WriteHeader(http.StatusNoContent) + w.WriteHeader(http.StatusCreated) }