Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #38 from ATX-Networks/bugfix/star_out_password
Browse files Browse the repository at this point in the history
Suggest that passwords be starred out for debug logs
  • Loading branch information
ryanpetrello committed May 16, 2018
2 parents 545132e + 4897a3e commit 12574fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tacacs_plus/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def __str__(self):
return ', '.join([
'data_len: 0',
'flags: 0',
'user_msg: %s' % self.password,
'user_msg: %s' % ('*' * len(self.password)),
'user_msg_len: %s' % len(self.password)
])

Expand Down

0 comments on commit 12574fa

Please sign in to comment.