mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Merge pull request #1032 from pi-hole/fix/emptypassword
Save empty password
This commit is contained in:
commit
c78d43f640
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ SetWebPassword(){
|
||||||
echo "WEBPASSWORD=${hash}" >> /etc/pihole/setupVars.conf
|
echo "WEBPASSWORD=${hash}" >> /etc/pihole/setupVars.conf
|
||||||
echo "New password set"
|
echo "New password set"
|
||||||
else
|
else
|
||||||
|
echo "WEBPASSWORD=" >> /etc/pihole/setupVars.conf
|
||||||
echo "Password removed"
|
echo "Password removed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue