mirror of https://github.com/arendst/Tasmota.git
Fix possible compiler error #1654
This commit is contained in:
parent
c14234394a
commit
080296754c
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue