removed salt lenght check

This commit is contained in:
Serghey Rodin 2015-06-04 18:23:37 +03:00
commit 0e3c13744e

View file

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