From b4ba8f9225a2017e237526a6b2f73b93c06bd615 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Mon, 17 Oct 2022 17:29:38 +0200 Subject: [PATCH] fixing brainfart Signed-off-by: Michael Kaufmann --- lib/Froxlor/System/Crypt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Froxlor/System/Crypt.php b/lib/Froxlor/System/Crypt.php index 086fb370..ebe00c86 100644 --- a/lib/Froxlor/System/Crypt.php +++ b/lib/Froxlor/System/Crypt.php @@ -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);