fix configuring PIN
This commit is contained in:
4
Config.h
4
Config.h
@@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define NUKI_HUB_VERSION "8.12"
|
#define NUKI_HUB_VERSION "8.13"
|
||||||
|
|
||||||
#define MQTT_QOS_LEVEL 1
|
#define MQTT_QOS_LEVEL 1
|
||||||
#define MQTT_CLEAN_SESSIONS false
|
#define MQTT_CLEAN_SESSIONS false
|
||||||
|
|||||||
6
Config.h.save
Normal file
6
Config.h.save
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define NUKI_HUB_VERSION "8.13"
|
||||||
|
|
||||||
|
#define MQTT_QOS_LEVEL 1
|
||||||
|
#define MQTT_CLEAN_SESSIONS false
|
||||||
@@ -556,7 +556,7 @@ void WebCfgServer::buildCredHtml(String &response)
|
|||||||
|
|
||||||
if(_nuki != nullptr)
|
if(_nuki != nullptr)
|
||||||
{
|
{
|
||||||
response.concat("<br><br><FORM ACTION=method=get >");
|
response.concat("<br><br><FORM method=\"post\" ACTION=savecfg >");
|
||||||
response.concat("<h3>NUKI Lock PIN</h3>");
|
response.concat("<h3>NUKI Lock PIN</h3>");
|
||||||
response.concat("<table>");
|
response.concat("<table>");
|
||||||
printInputField(response, "NUKIPIN", "PIN Code (# to clear)", "*", 20, true);
|
printInputField(response, "NUKIPIN", "PIN Code (# to clear)", "*", 20, true);
|
||||||
@@ -567,7 +567,7 @@ void WebCfgServer::buildCredHtml(String &response)
|
|||||||
|
|
||||||
if(_nukiOpener != nullptr)
|
if(_nukiOpener != nullptr)
|
||||||
{
|
{
|
||||||
response.concat("<br><br><FORM ACTION=method=get >");
|
response.concat("<br><br><FORM method=\"posst\" ACTION=savecfg >");
|
||||||
response.concat("<h3>NUKI Opener PIN</h3>");
|
response.concat("<h3>NUKI Opener PIN</h3>");
|
||||||
response.concat("<table>");
|
response.concat("<table>");
|
||||||
printInputField(response, "NUKIOPPIN", "PIN Code (# to clear)", "*", 20, true);
|
printInputField(response, "NUKIOPPIN", "PIN Code (# to clear)", "*", 20, true);
|
||||||
@@ -580,7 +580,7 @@ void WebCfgServer::buildCredHtml(String &response)
|
|||||||
if(_nuki != nullptr)
|
if(_nuki != nullptr)
|
||||||
{
|
{
|
||||||
response.concat("<br><br><h3>Unpair NUKI Lock</h3>");
|
response.concat("<br><br><h3>Unpair NUKI Lock</h3>");
|
||||||
response.concat("<form method=\"get\" action=\"/unpairlock\">");
|
response.concat("<form method=\"post\" action=\"/unpairlock\">");
|
||||||
String message = "Type ";
|
String message = "Type ";
|
||||||
message.concat(_confirmCode);
|
message.concat(_confirmCode);
|
||||||
message.concat(" to confirm unpair");
|
message.concat(" to confirm unpair");
|
||||||
@@ -591,7 +591,7 @@ void WebCfgServer::buildCredHtml(String &response)
|
|||||||
if(_nukiOpener != nullptr)
|
if(_nukiOpener != nullptr)
|
||||||
{
|
{
|
||||||
response.concat("<br><br><h3>Unpair NUKI Opener</h3>");
|
response.concat("<br><br><h3>Unpair NUKI Opener</h3>");
|
||||||
response.concat("<form method=\"get\" action=\"/unpairopener\">");
|
response.concat("<form method=\"post\" action=\"/unpairopener\">");
|
||||||
String message = "Type ";
|
String message = "Type ";
|
||||||
message.concat(_confirmCode);
|
message.concat(_confirmCode);
|
||||||
message.concat(" to confirm unpair");
|
message.concat(" to confirm unpair");
|
||||||
|
|||||||
Reference in New Issue
Block a user