auth: remove needless logging during creating a new user

release-3.0
Hitoshi Mitake 2016-04-12 14:14:53 +09:00
parent bfd49023a1
commit 0b4749ea65
1 changed files with 0 additions and 2 deletions

View File

@ -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)