chore: fix bcrypt issue

pull/1024/head
Daan Selen 2025-12-10 23:17:45 +01:00
parent 2e8d2fe400
commit 6fee7da633
1 changed files with 1 additions and 1 deletions

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