mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
Update v-get-user-salt
tnx @jaapmarcus and HestiaCP
This commit is contained in:
parent
20182cb6b7
commit
7594eed24a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue