mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -07:00
removed salt lenght check
This commit is contained in:
parent
c4b629bdd1
commit
0e3c13744e
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ else
|
||||||
method='sha-512'
|
method='sha-512'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "$salt" ]] || [[ "${#salt}" -gt 12 ]]; then
|
if [ -z "$salt" ]; then
|
||||||
echo "Error: password missmatch"
|
echo "Error: password missmatch"
|
||||||
echo "$DATE $user $ip failed to login" >> $VESTA/log/auth.log
|
echo "$DATE $user $ip failed to login" >> $VESTA/log/auth.log
|
||||||
exit 9
|
exit 9
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue