Merge pull request #2394 from moaead/fix/issue-2393-web-terminal-login

fix(birdnet-pi): enable web terminal login when no password is set
This commit is contained in:
Alexandre authored and GitHub committed 2026-01-21 07:07:25 +01:00
commit 8fc5026647
3 files changed
+6 -2

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
- Fix passwordless terminal
## 2025.12-05 (2025-12-20)
- Minor bugs fixed
## 2025.12-04 (2025-12-19)
+1 -1
View File
@@ -116,5 +116,5 @@ tmpfs: true
udev: true
url: https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pi
usb: true
version: 2025.12-05
version: 2026.01.21
video: true
+3 -1
View File
@@ -30,7 +30,9 @@ if [[ -n "${PI_PASSWORD:-}" ]]; then
echo "pi:${PI_PASSWORD}" | chpasswd
bashio::log.info "Password set successfully for user pi."
else
bashio::log.info "No password specified for user pi. Keeping existing password."
# Set empty password to allow web terminal login when no password is configured
passwd -d pi
bashio::log.info "No password specified for user pi. Enabled passwordless login."
fi
# Use timezone defined in add-on options if available