Controller password length changed

Controller password length changed
This commit is contained in:
mvdbro
2015-10-10 17:26:12 +02:00
parent 13091d403d
commit 5b5f71941a
3 changed files with 9 additions and 5 deletions
+3 -3
View File
@@ -79,7 +79,7 @@
#define ESP_PROJECT_PID 2015050101L
#define ESP_EASY
#define VERSION 9
#define BUILD 33
#define BUILD 34
#define REBOOT_ON_MAX_CONNECTION_FAILURES 30
#define FEATURE_SPIFFS false
@@ -161,7 +161,7 @@ struct SecurityStruct
char WifiKey[64];
char WifiAPKey[64];
char ControllerUser[26];
char ControllerPassword[26];
char ControllerPassword[64];
char Password[26];
} SecuritySettings;
@@ -391,7 +391,7 @@ void setup()
}
else
{
Serial.println(F("Entered Resque mode!"));
Serial.println(F("Entered Rescue mode!"));
}
}
+1 -1
View File
@@ -290,7 +290,7 @@ void handle_config() {
controlleruser.toCharArray(tmpString, 26);
urlDecode(tmpString);
strcpy(SecuritySettings.ControllerUser, tmpString);
controllerpassword.toCharArray(tmpString, 26);
controllerpassword.toCharArray(tmpString, 64);
urlDecode(tmpString);
strcpy(SecuritySettings.ControllerPassword, tmpString);
if (Settings.Protocol != protocol.toInt())
+5 -1
View File
@@ -1,5 +1,9 @@
// R34 10-10-2015
// Changed controller password length from 25 to 63 chars.
// If you have set a system password, it will be cleared with this update
// R33 10-10-2015
// Limit flash reset cycle to 3 attempts after cold boot. It will then enter resque mode.
// Limit flash reset cycle to 3 attempts after cold boot. It will then enter rescue mode.
// R32 09-10-2015
// Fixed a bug in negative values on Dallas DS18b20 and added CRC check