mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Require a minimum of 8 characters for passwords, to match Kratos min requirements
This commit is contained in:
@@ -98,7 +98,7 @@ function validatePassword() {
|
|||||||
password=$1
|
password=$1
|
||||||
|
|
||||||
len=$(expr length "$password")
|
len=$(expr length "$password")
|
||||||
if [[ $len -lt 6 ]]; then
|
if [[ $len -lt 8 ]]; then
|
||||||
fail "Password does not meet the minimum requirements"
|
fail "Password does not meet the minimum requirements"
|
||||||
fi
|
fi
|
||||||
if [[ $len -gt 72 ]]; then
|
if [[ $len -gt 72 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user