mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Update v-check-api-key
This commit is contained in:
parent
177793a664
commit
13d58ff390
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ time=$(echo "$time_n_date" |cut -f 1 -d \ )
|
||||||
date=$(echo "$time_n_date" |cut -f 2 -d \ )
|
date=$(echo "$time_n_date" |cut -f 2 -d \ )
|
||||||
|
|
||||||
if [[ -z $key || ${#key} -lt 16 ]]; then
|
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
|
echo "$date $time api $ip failed to login" >> $VESTA/log/auth.log
|
||||||
exit 9
|
exit 9
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue