1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 23:08:07 +00:00

Merge pull request #1032 from pi-hole/fix/emptypassword

Save empty password
This commit is contained in:
DL6ER 2016-12-25 00:51:21 +01:00 committed by GitHub
commit c78d43f640

View File

@ -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