From 0b4749ea655fc27a44ab67d7cff4d8e977c576d1 Mon Sep 17 00:00:00 2001 From: Hitoshi Mitake Date: Tue, 12 Apr 2016 14:14:53 +0900 Subject: [PATCH] auth: remove needless logging during creating a new user --- auth/store.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/auth/store.go b/auth/store.go index ac1f94871..1fe01fce2 100644 --- a/auth/store.go +++ b/auth/store.go @@ -91,8 +91,6 @@ func (as *authStore) Recover(be backend.Backend) { } func (as *authStore) UserAdd(r *pb.AuthUserAddRequest) (*pb.AuthUserAddResponse, error) { - plog.Noticef("adding a new user: %s", r.Name) - hashed, err := bcrypt.GenerateFromPassword([]byte(r.Password), bcrypt.DefaultCost) if err != nil { plog.Errorf("failed to hash password: %s", err)