From e0656339a049edd7b904f0a0ebb0072fec0ad1fa Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Mon, 1 Aug 2016 11:09:14 +0200 Subject: [PATCH] MT#21683 no password length expose in the hidden form Change-Id: Ife59ff36d56c77db414cc7b0af7bdd8c1a31d493 --- lib/NGCP/Panel/Utils/Message.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Panel/Utils/Message.pm b/lib/NGCP/Panel/Utils/Message.pm index 720458f92c..1c90be1bad 100644 --- a/lib/NGCP/Panel/Utils/Message.pm +++ b/lib/NGCP/Panel/Utils/Message.pm @@ -68,7 +68,7 @@ sub get_log_params { ? '*too big*' : (!$log_passwords && $_ =~ /password/i && $data_ref->{$_}) - ? '*' x length($data_ref->{$_}) + ? '*' x 5) : $data_ref->{$_} : 'undef' } keys %$data_ref;