We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae121c5 commit 3d9cbcaCopy full SHA for 3d9cbca
nxc/config.py
@@ -43,5 +43,5 @@
43
44
# this should probably be put somewhere else, but if it's in the config helpers, there is a circular import
45
def process_secret(text):
46
- hidden = text[:reveal_chars_of_pwd]
47
- return text if not audit_mode else hidden + audit_mode * 8
+ reveal = text[:reveal_chars_of_pwd]
+ return text if not audit_mode else reveal + (audit_mode if len(audit_mode) > 1 else audit_mode * 8)
0 commit comments