fixing brainfart

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-10-17 17:29:38 +02:00
parent 28f6d59336
commit b4ba8f9225

View File

@@ -43,7 +43,7 @@ class Crypt
$numeric = '0123456789';
$special = Settings::Get('panel.password_special_char');
if (empty($length)) {
$length = Settings::Get('panel.password_min_length') > 3 ? Settings::Get('panel.password_min_length') : $length;
$length = Settings::Get('panel.password_min_length') > 3 ? Settings::Get('panel.password_min_length') : 10;
}
$pw = self::specialShuffle($alpha_lower);