From 74a479359cde7f3c62c9d711cd52b17267efc1b0 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Tue, 17 Nov 2015 10:32:29 -0700 Subject: [PATCH] Fix password change status code --- api/users.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/users.go b/api/users.go index f148109..c8da340 100644 --- a/api/users.go +++ b/api/users.go @@ -283,5 +283,7 @@ func HandleUserPasswordChange(w http.ResponseWriter, r *http.Request) *types.App return newJSONError(err, http.StatusInternalServerError) } + w.WriteHeader(http.StatusNoContent) + return nil }