mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-02-20 03:36:16 +00:00
improved cron tasks output and force authentication
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$COMPOSE_VERSION" != "c1b" ]]; then
|
||||
if [[ "$COMPOSE_VERSION" != "c1c" ]]; then
|
||||
echo "ERROR: Please upgrade your docker compose file. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
@@ -21,6 +21,10 @@ if [ ! -f /app_secrets/rrdtool_key ]; then
|
||||
cat /proc/sys/kernel/random/uuid > /app_secrets/rrdtool_key
|
||||
fi
|
||||
|
||||
if [ ! -f /app_secrets/cron_key ]; then
|
||||
cat /proc/sys/kernel/random/uuid > /app_secrets/cron_key
|
||||
fi
|
||||
|
||||
SERVER_HOSTNAME=$(echo $SERVER_ADDRESS | cut -d ':' -f 1)
|
||||
EXTRA_ALLOWED_HOSTS_STRING=""
|
||||
CSRF_EXTRA_TRUSTED_ORIGINS=""
|
||||
|
||||
Reference in New Issue
Block a user