Fix password change status code
This commit is contained in:
parent
8e9d6380e7
commit
74a479359c
1 changed files with 2 additions and 0 deletions
|
@ -283,5 +283,7 @@ func HandleUserPasswordChange(w http.ResponseWriter, r *http.Request) *types.App
|
||||||
return newJSONError(err, http.StatusInternalServerError)
|
return newJSONError(err, http.StatusInternalServerError)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
w.WriteHeader(http.StatusNoContent)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue