fix: remove log containing user password

fixes issue #12
This commit is contained in:
Jordan Knott 2020-07-20 17:34:48 -05:00
parent a4ff94d78b
commit 20b5188662

View File

@ -213,8 +213,6 @@ func (h *CitadelHandler) InstallHandler(w http.ResponseWriter, r *http.Request)
return
}
log.WithFields(log.Fields{"r": requestData}).Info("install")
createdAt := time.Now().UTC()
hashedPwd, err := bcrypt.GenerateFromPassword([]byte(requestData.User.Password), 14)
user, err := h.repo.CreateUserAccount(r.Context(), db.CreateUserAccountParams{