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

Commit

Permalink
do the "fast" check first and if true, do the "slow" check
Browse files Browse the repository at this point in the history
(cherry picked from commit e6744d1)
  • Loading branch information
mitchell852 committed Jul 20, 2016
1 parent 216dac9 commit 2888980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traffic_ops/app/lib/UI/Parameter.pm
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ sub conceal_secure_parameter_value {
my $self = shift;
my $secure = shift;
my $value = shift;
if ( !&is_admin($self) && $secure == 1 ) {
if ( $secure == 1 && !&is_admin($self) ) {
$$value = '*********';
}
}
Expand Down

0 comments on commit 2888980

Please sign in to comment.