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;