From 0e3c13744e99ddb526d06c07fd30c9ca25650ee8 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Thu, 4 Jun 2015 18:23:37 +0300 Subject: [PATCH] removed salt lenght check --- bin/v-check-user-password | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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