fixed stats password generation

This commit is contained in:
Serghey Rodin 2012-08-19 20:52:03 +03:00
commit 7745157589

View file

@ -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