We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e2978 commit 7745157Copy full SHA for 7745157
bin/v_rebuild_web_domains
@@ -153,9 +153,7 @@ for domain in $(shell_list) ; do
153
echo "Require valid-user" >> $stats_dir/.htaccess
154
155
# Generating htaccess user and password
156
- rm -f $stats_dir/.htpasswd
157
- htpasswd -bc $stats_dir/.htpasswd "$STATS_USER" "$STATS_CRYPT" \
158
- &>/dev/null
+ echo "$STATS_USER:$STATS_CRYPT" > $stats_dir/.htpasswd
159
fi
160
161
0 commit comments