From 1c1101aeac61845b8560e4ef4a8f7d97d347356e Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 29 Jul 2024 14:26:18 +0100 Subject: [PATCH] Use the pwd_secure_min value (plus 5) for generated password Signed-off-by: snipe --- resources/views/users/edit.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php index 200acb5527..e3f691f158 100755 --- a/resources/views/users/edit.blade.php +++ b/resources/views/users/edit.blade.php @@ -678,7 +678,7 @@ $(document).ready(function() { 'bind': 'click', 'passwordElement': '#password', 'displayElement': '#generated-password', - 'passwordLength': 16, + 'passwordLength': {{ ($settings->pwd_secure_min + 5) }}, 'uppercase': true, 'lowercase': true, 'numbers': true,