chore: fix bcrypt issue

This commit is contained in:
Daan Selen
2025-12-10 23:17:45 +01:00
parent 2e8d2fe400
commit 6fee7da633

View File

@@ -6,7 +6,7 @@ trap 'stop_service' SIGTERM
# Hash password with bcrypt
hash_password() {
python3 -c "import bcrypt; print(bcrypt.hashpw('$1'.encode(), bcrypt.gensalt(12)).decode())"
${WGDASH}/src/venv/bin/python3 -c "import bcrypt; print(bcrypt.hashpw('$1'.encode(), bcrypt.gensalt(12)).decode())"
}
# Function to set or update section/key/value in the INI file