Update v-check-api-key

This commit is contained in:
myvesta 2021-02-09 09:08:56 +01:00 committed by GitHub
parent 177793a664
commit 13d58ff390
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ time=$(echo "$time_n_date" |cut -f 1 -d \ )
date=$(echo "$time_n_date" |cut -f 2 -d \ )
if [[ -z $key || ${#key} -lt 16 ]]; then
echo "Error: not valid keysh"
echo "Error: not valid keys"
echo "$date $time api $ip failed to login" >> $VESTA/log/auth.log
exit 9
fi