Browse Source

auth: remove needless logging during creating a new user

Hitoshi Mitake 9 years ago
parent
commit
0b4749ea65
1 changed files with 0 additions and 2 deletions
  1. 0 2
      auth/store.go

+ 0 - 2
auth/store.go

@@ -91,8 +91,6 @@ func (as *authStore) Recover(be backend.Backend) {
 }
 }
 
 
 func (as *authStore) UserAdd(r *pb.AuthUserAddRequest) (*pb.AuthUserAddResponse, error) {
 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)
 	hashed, err := bcrypt.GenerateFromPassword([]byte(r.Password), bcrypt.DefaultCost)
 	if err != nil {
 	if err != nil {
 		plog.Errorf("failed to hash password: %s", err)
 		plog.Errorf("failed to hash password: %s", err)