How can I remove the "Administrator Email Address" from the Pi-hole web interface? I put in my email to test it but I don't want my email there.
Suggestion: add a "Remove Administrator Email Address" button for people to remove the email from the web interface. Because when I make it empty it goes back to what it previously was and not empty.
I just found out that pihole -a email also works, it removes the email. But I would like a button on the web interface though as that would be convenient.
I am wondering why $adminemail gets set to noadminemail if no address is entered, especially because the exec command not gets fired due to the if...elseif...else instructions.
I think the lines above should look something like following to allow saving an empty address (this would be the easiest way to fix this ):