Skip to content

Commit f765ba1

Browse files
authored
Update note RE: Blank passwords
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
1 parent 78aee9e commit f765ba1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,10 @@ To set a specific password for the web interface, use the environment variable `
123123

124124
If this variable is not detected and you have not already set one via `pihole setpassword` / `pihole-FTL --config webserver.api.password` inside the container, then a random password will be assigned on startup. This will be printed to the log. Run `docker logs pihole | grep random password` to find it.
125125

126-
To explicitly set no password, set `FTLCONF_webserver_api_password: ''`.
126+
> [!NOTE]
127+
> To _explicitly_ set no password, set `FTLCONF_webserver_api_password: ''`
128+
>
129+
> Using `pihole setpassword` for the purpose of setting an empty password will not persist between container restarts
127130

128131
### Recommended Environment Variables
129132

0 commit comments

Comments
 (0)