Merge pull request #1032 from pi-hole/fix/emptypassword
Save empty password
This commit is contained in:
commit
c78d43f640
|
@ -61,6 +61,7 @@ SetWebPassword(){
|
|||
echo "WEBPASSWORD=${hash}" >> /etc/pihole/setupVars.conf
|
||||
echo "New password set"
|
||||
else
|
||||
echo "WEBPASSWORD=" >> /etc/pihole/setupVars.conf
|
||||
echo "Password removed"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue