diff --git a/bin/v-check-user-password b/bin/v-check-user-password index a9377062..460d8b01 100755 --- a/bin/v-check-user-password +++ b/bin/v-check-user-password @@ -58,7 +58,7 @@ else method='sha-512' fi -if [[ -z "$salt" ]] || [[ "${#salt}" -gt 12 ]]; then +if [ -z "$salt" ]; then echo "Error: password missmatch" echo "$DATE $user $ip failed to login" >> $VESTA/log/auth.log exit 9