Skip to content

Commit

Permalink
fixed security on debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
saul-gush committed Mar 3, 2022
1 parent c9e2983 commit 43a05b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/mainapp/graphql/private/resolvers/users.resolvers.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
privategraphql "dataplane/mainapp/graphql/private"
"dataplane/mainapp/logging"
"errors"
"log"
"os"
"strings"

Expand Down Expand Up @@ -145,8 +144,6 @@ func (r *mutationResolver) UpdateChangePassword(ctx context.Context, input *priv

password, err := auth.Encrypt(input.Password)

log.Println("pwd:", input.UserID, "++"+input.Password+"++", password)

if err != nil {
return nil, errors.New("Password hash failed.")
}
Expand Down

0 comments on commit 43a05b3

Please sign in to comment.