Skip to content

Commit

Permalink
Fix gaping security/privacy hole - Caddyfile doesn't get configured
Browse files Browse the repository at this point in the history
for basicauth even if a password is set in the config file.
  • Loading branch information
srd424 committed Aug 13, 2023
1 parent 2c9b969 commit a0edb07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions static/create_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ set -x
ln -s /run/birdnet.conf /etc/birdnet
fi
rm $envopts

sed -i -e '/^sudo systemctl/d' /usr/local/bin/update_caddyfile.sh
env HOME=/home/pi USER=pi /usr/local/bin/update_caddyfile.sh

exit 0
) 9>/state/.lock

Expand Down

0 comments on commit a0edb07

Please sign in to comment.