Merge "Hide auth_token and new_pass"

This commit is contained in:
Jenkins 2014-10-09 08:05:19 +00:00 committed by Gerrit Code Review
commit a6d9c2ecff
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ SLUGIFY_HYPHENATE_RE = re.compile(r"[-\s]+")
# NOTE(flaper87): The following globals are used by `mask_password`
_SANITIZE_KEYS = ['adminPass', 'admin_pass', 'password', 'admin_password']
_SANITIZE_KEYS = ['adminPass', 'admin_pass', 'password', 'admin_password',
'auth_token', 'new_pass']
# NOTE(ldbragst): Let's build a list of regex objects using the list of
# _SANITIZE_KEYS we already have. This way, we only have to add the new key