Require a minimum of 8 characters for passwords, to match Kratos min requirements

This commit is contained in:
Jason Ertel
2022-02-18 15:14:48 -05:00
parent fdc63b5816
commit 93e9548eaf

View File

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