Merge pull request #35811 from rallytime/bp-35576

Back-port #35576 to 2015.8
This commit is contained in:
Nicole Thomas 2016-08-26 12:54:08 -06:00 committed by GitHub
commit d285fe64b7

View file

@ -449,7 +449,7 @@ def present(name,
ret['comment'] = ('The following user attributes are set to be '
'changed:\n')
for key, val in six.iteritems(changes):
if key == 'password':
if key == 'passwd':
val = 'XXX-REDACTED-XXX'
ret['comment'] += '{0}: {1}\n'.format(key, val)
return ret