From 20b51886628f5f18a1dc8ae27120d2941ca3cd0a Mon Sep 17 00:00:00 2001 From: Jordan Knott Date: Mon, 20 Jul 2020 17:34:48 -0500 Subject: [PATCH] fix: remove log containing user password fixes issue #12 --- internal/route/auth.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/route/auth.go b/internal/route/auth.go index e382fa7..6840f76 100644 --- a/internal/route/auth.go +++ b/internal/route/auth.go @@ -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{