File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ const theme = createMuiTheme({
279279 main: ' #666' ,
280280 },
281281 info: {
282- main: blueGrey[900 ]
282+ main: blueGrey[500 ]
283283 },
284284 warning: {
285285 main: orange[500 ]
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ build_flags =
66 -D FACTORY_WIFI_HOSTNAME =\" esp-react\"
77
88 ; Access point settings
9- -D FACTORY_AP_SSID =\" ESP8266-React\"
10- -D FACTORY_AP_PASSWORD =\" esp-react\"
9+ -D FACTORY_AP_SSID =\" ESP8266-React\" ; 1-64 characters
10+ -D FACTORY_AP_PASSWORD =\" esp-react\" ; 8-64 characters
1111 -D FACTORY_AP_PROVISION_MODE =AP_MODE_DISCONNECTED
1212
1313 ; User credentials for admin and guest user
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ class APSettingsForm extends React.Component<APSettingsFormProps> {
4343 margin = "normal"
4444 />
4545 < PasswordValidator
46- validators = { [ 'required' , 'matchRegexp:^.{1 ,64}$' ] }
47- errorMessages = { [ 'Access Point Password is required' , 'Access Point Password must be 64 characters or less ' ] }
46+ validators = { [ 'required' , 'matchRegexp:^.{8 ,64}$' ] }
47+ errorMessages = { [ 'Access Point Password is required' , 'Access Point Password must be 8- 64 characters' ] }
4848 name = "password"
4949 label = "Access Point Password"
5050 fullWidth
You can’t perform that action at this time.
0 commit comments