Fix possible compiler error #1654

This commit is contained in:
arendst 2018-01-20 15:57:11 +01:00
parent c14234394a
commit 080296754c
1 changed files with 6 additions and 1 deletions

View File

@ -422,7 +422,7 @@ void SetHeader()
#endif
}
void ShowPage(String &page, bool auth = true)
void ShowPage(String &page, bool auth)
{
// if((HTTP_ADMIN == webserver_state) && (Settings.web_password[0] != 0) && !WebServer->authenticate(WEB_USERNAME, Settings.web_password)) {
// return WebServer->requestAuthentication();
@ -448,6 +448,11 @@ void ShowPage(String &page, bool auth = true)
// WebServer->sendContent("");
}
void ShowPage(String &page)
{
ShowPage(page, true);
}
//Authentication
void HandleWifiLogin()
{