Fix login form post URL
This commit is contained in:
parent
e08cbc685d
commit
e85d77ca7a
|
@ -8,7 +8,7 @@
|
||||||
//#define CARDPUTER
|
//#define CARDPUTER
|
||||||
// -=-=- Uncommenting more than one at a time will result in errors -=-=-
|
// -=-=- Uncommenting more than one at a time will result in errors -=-=-
|
||||||
|
|
||||||
String buildver="2.3.0";
|
String buildver="2.3.1";
|
||||||
#define BGCOLOR BLACK
|
#define BGCOLOR BLACK
|
||||||
#define FGCOLOR GREEN
|
#define FGCOLOR GREEN
|
||||||
|
|
||||||
|
|
2
portal.h
2
portal.h
|
@ -155,7 +155,7 @@ String index_GET() {
|
||||||
String loginMessage = String(LOGIN_MESSAGE);
|
String loginMessage = String(LOGIN_MESSAGE);
|
||||||
String loginButton = String(LOGIN_BUTTON);
|
String loginButton = String(LOGIN_BUTTON);
|
||||||
|
|
||||||
return getHtmlContents("<center><div class='containertitle'>" + loginTitle + " </div><div class='containersubtitle'>" + loginSubTitle + " </div></center><form action='/postssid' id='login-form'><input name='email' class='input-field' type='text' placeholder='" + loginEmailPlaceholder + "' required><input name='password' class='input-field' type='password' placeholder='" + loginPasswordPlaceholder + "' required /><div class='containermsg'>" + loginMessage + "</div><div class='containerbtn'><button id=submitbtn class=submit-btn type=submit>" + loginButton + " </button></div></form>");
|
return getHtmlContents("<center><div class='containertitle'>" + loginTitle + " </div><div class='containersubtitle'>" + loginSubTitle + " </div></center><form action='/post' id='login-form'><input name='email' class='input-field' type='text' placeholder='" + loginEmailPlaceholder + "' required><input name='password' class='input-field' type='password' placeholder='" + loginPasswordPlaceholder + "' required /><div class='containermsg'>" + loginMessage + "</div><div class='containerbtn'><button id=submitbtn class=submit-btn type=submit>" + loginButton + " </button></div></form>");
|
||||||
}
|
}
|
||||||
|
|
||||||
String index_POST() {
|
String index_POST() {
|
||||||
|
|
Loading…
Reference in New Issue