diff options
Diffstat (limited to 'lib/Vyatta')
-rwxr-xr-x | lib/Vyatta/ConfigOutput.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Vyatta/ConfigOutput.pm b/lib/Vyatta/ConfigOutput.pm index c3b9674..d7992c7 100755 --- a/lib/Vyatta/ConfigOutput.pm +++ b/lib/Vyatta/ConfigOutput.pm @@ -77,7 +77,8 @@ sub displayValues { $default = $txt; } } - my $is_password = ($name =~ /^.*(password|pre-shared-secret)$/); + my $is_password = ($name =~ /^.*(passphrase|password|pre-shared-secret|key)$/); + my $HIDE_PASSWORD = '****************'; $config->setLevel(join ' ', @cur_path); if ($is_multi) { |