mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
fixed stats password generation
This commit is contained in:
parent
c2e2978c45
commit
7745157589
1 changed files with 1 additions and 3 deletions
|
@ -153,9 +153,7 @@ for domain in $(shell_list) ; do
|
|||
echo "Require valid-user" >> $stats_dir/.htaccess
|
||||
|
||||
# Generating htaccess user and password
|
||||
rm -f $stats_dir/.htpasswd
|
||||
htpasswd -bc $stats_dir/.htpasswd "$STATS_USER" "$STATS_CRYPT" \
|
||||
&>/dev/null
|
||||
echo "$STATS_USER:$STATS_CRYPT" > $stats_dir/.htpasswd
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue