Skip to content

Commit 0e3c137

Browse files
committed
removed salt lenght check
1 parent c4b629b commit 0e3c137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-check-user-password

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ else
5858
method='sha-512'
5959
fi
6060

61-
if [[ -z "$salt" ]] || [[ "${#salt}" -gt 12 ]]; then
61+
if [ -z "$salt" ]; then
6262
echo "Error: password missmatch"
6363
echo "$DATE $user $ip failed to login" >> $VESTA/log/auth.log
6464
exit 9

0 commit comments

Comments
 (0)