Use the pwd_secure_min value (plus 5) for generated password

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-29 14:26:18 +01:00
parent bc18fac97e
commit 1c1101aeac

View file

@ -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,