Fix UI defaults with Linux Integration

This commit is contained in:
Théophile Diot 2024-01-03 12:11:11 +00:00
parent 7a247e6430
commit 2b0540f442
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -5,8 +5,8 @@ export PYTHONPATH=/usr/share/bunkerweb/deps/python/:/usr/share/bunkerweb/ui/
# Create the ui.env file if it doesn't exist
if [ ! -f /etc/bunkerweb/ui.env ]; then
echo "ADMIN_USERNAME=admin" > /etc/bunkerweb/ui.env
echo "ADMIN_PASSWORD=changeme" >> /etc/bunkerweb/ui.env
echo "ADMIN_USERNAME=" > /etc/bunkerweb/ui.env
echo "ADMIN_PASSWORD=" >> /etc/bunkerweb/ui.env
fi
# Function to start the UI