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