Skip to content

Commit

Permalink
chore: remove logging of tokens for invites (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmoz authored Jan 20, 2025
1 parent b1e1ddb commit 2741b47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/mailsending/invite.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func SendUserInviteMail(
)
return err
} else {
log.Info("invite mail has been sent", zap.String("user", userAccount.Email), zap.String("token", token))
log.Info("invite mail has been sent", zap.String("user", userAccount.Email))
return nil
}
}
Expand Down
2 changes: 1 addition & 1 deletion internal/mailsending/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func SendUserVerificationMail(ctx context.Context, userAccount types.UserAccount
)
return err
} else {
log.Info("verification mail has been sent", zap.String("user", userAccount.Email), zap.String("token", token))
log.Info("verification mail has been sent", zap.String("user", userAccount.Email))
return nil
}
}
Expand Down

0 comments on commit 2741b47

Please sign in to comment.