foris 5.2.0-beta.a1e9f236 → 5.2.0-beta.b662ba5b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -82,6 +82,10 @@ export function validator(formData) {
|
|
|
82
82
|
|
|
83
83
|
if (device.password.length < 8)
|
|
84
84
|
errors.password = _("Password must contain at least 8 symbols");
|
|
85
|
+
if (device.password.length >= 64)
|
|
86
|
+
errors.password = _(
|
|
87
|
+
"Password must not contain more than 63 symbols"
|
|
88
|
+
);
|
|
85
89
|
|
|
86
90
|
if (!device.guest_wifi.enabled) return errors;
|
|
87
91
|
|
|
@@ -97,6 +101,10 @@ export function validator(formData) {
|
|
|
97
101
|
guest_wifi_errors.password = _(
|
|
98
102
|
"Password must contain at least 8 symbols"
|
|
99
103
|
);
|
|
104
|
+
if (device.guest_wifi.password.length >= 64)
|
|
105
|
+
guest_wifi_errors.password = _(
|
|
106
|
+
"Password must not contain more than 63 symbols"
|
|
107
|
+
);
|
|
100
108
|
|
|
101
109
|
if (guest_wifi_errors.SSID || guest_wifi_errors.password) {
|
|
102
110
|
errors.guest_wifi = guest_wifi_errors;
|
package/foris-5.2.0.tgz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "foris",
|
|
3
|
-
"version": "5.2.0-beta.
|
|
3
|
+
"version": "5.2.0-beta.b662ba5b",
|
|
4
4
|
"description": "Set of components and utils for Foris and its plugins.",
|
|
5
5
|
"author": "CZ.NIC, z.s.p.o.",
|
|
6
6
|
"repository": {
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"react": "16.9.0",
|
|
54
54
|
"react-dom": "16.9.0",
|
|
55
55
|
"react-router-dom": "^5.1.2",
|
|
56
|
-
"react-styleguidist": "^
|
|
56
|
+
"react-styleguidist": "^11.2.0",
|
|
57
57
|
"snapshot-diff": "^0.7.0",
|
|
58
58
|
"style-loader": "^1.2.1",
|
|
59
|
-
"webpack": "^5.
|
|
59
|
+
"webpack": "^5.68.0"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"lint": "eslint src",
|