do the "fast" check first and if true, do the "slow" check
(cherry picked from commit e6744d10b0cbe86d23233bc926b8e4f1fea2f48f)
diff --git a/traffic_ops/app/lib/UI/Parameter.pm b/traffic_ops/app/lib/UI/Parameter.pm
index db7808b..6112c68 100644
--- a/traffic_ops/app/lib/UI/Parameter.pm
+++ b/traffic_ops/app/lib/UI/Parameter.pm
@@ -289,7 +289,7 @@
my $self = shift;
my $secure = shift;
my $value = shift;
- if ( !&is_admin($self) && $secure == 1 ) {
+ if ( $secure == 1 && !&is_admin($self) ) {
$$value = '*********';
}
}