also mask openid secrets

This commit is contained in:
Ralf Becker 2019-05-27 13:56:18 +02:00
parent 7f18d059dd
commit 5cf5ed74a8

View File

@ -432,7 +432,7 @@ abstract class admin_cmd
{
$value = self::mask_passwords($value, false);
}
elseif (preg_match('/(pw|passwd_?\d*|(?<!change)password|db_pass)$/i', $key))
elseif (preg_match('/(pw|passwd_?\d*|(?<!change)password|db_pass|secret)$/i', $key))
{
$value = str_repeat('*', strlen($value));
}