From cd4b25ceec52b0c79520923f72a512d643901f8a Mon Sep 17 00:00:00 2001 From: Patrick O'Brien Date: Wed, 5 Apr 2017 12:40:35 -0400 Subject: [PATCH] update change password examples --- help.php | 4 ++-- scripts/pi-hole/php/loginpage.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/help.php b/help.php index cc0b66de..102c6e72 100644 --- a/help.php +++ b/help.php @@ -1,4 +1,4 @@ -

Authentication system (currently enableddisabled)

-

Using the command

sudo pihole -a -p pa22w0rd
where pa22w0rd is the password to be set in this example, one can enable the authentication system of this web interface. Thereafter, a login is required for most pages (the dashboard will show a limited amount of statistics). Note that the authentication system may be disabled again, by setting an empty password using the command shown above. The Help center will show more details concerning the authentication system only if it is enabled

+

Using the command

sudo pihole -a -p
and entering a password to be set, one can enable the authentication system of this web interface. Thereafter, a login is required for most pages (the dashboard will show a limited amount of statistics). Note that the authentication system may be disabled again, by setting an empty password using the command shown above. The Help center will show more details concerning the authentication system only if it is enabled

diff --git a/scripts/pi-hole/php/loginpage.php b/scripts/pi-hole/php/loginpage.php index 560c934d..8a88f50c 100644 --- a/scripts/pi-hole/php/loginpage.php +++ b/scripts/pi-hole/php/loginpage.php @@ -56,7 +56,7 @@ After installing Pi-hole for the first time, a password is generated and displayed to the user. The password cannot be retrieved later on, but it is possible to set a new password (or explicitly disable the password by setting an empty password) using the command -
sudo pihole -a -p newpassword
+
sudo pihole -a -p