foris 5.2.0-beta.a1e9f236 → 5.2.0-beta.dd383ef1

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.a1e9f236",
3
+ "version": "5.2.0-beta.dd383ef1",
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": {