Skip to content
This repository was archived by the owner on Nov 13, 2018. It is now read-only.

Commit 2888980

Browse files
committed
do the "fast" check first and if true, do the "slow" check
(cherry picked from commit e6744d1)
1 parent 216dac9 commit 2888980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

traffic_ops/app/lib/UI/Parameter.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ sub conceal_secure_parameter_value {
289289
my $self = shift;
290290
my $secure = shift;
291291
my $value = shift;
292-
if ( !&is_admin($self) && $secure == 1 ) {
292+
if ( $secure == 1 && !&is_admin($self) ) {
293293
$$value = '*********';
294294
}
295295
}

0 commit comments

Comments
 (0)