Update v-get-user-salt

tnx @jaapmarcus and HestiaCP
This commit is contained in:
myvesta 2020-08-30 01:19:30 +02:00 committed by GitHub
parent 20182cb6b7
commit 7594eed24a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ check_args '1' "$#" 'USER [IP] [SALT]'
is_format_valid 'user'
# Checking user
if [ ! -d "$VESTA/data/users/$user" ] && [ "$user" != 'root' ]; then
if [ ! -d "$VESTA/data/users/$user" ]; then
echo "Error: password missmatch"
echo "$date $time $user $ip failed to login" >> $VESTA/log/auth.log
exit 9