mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -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'
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue