Fix max length for wifi credentials
This commit is contained in:
@@ -3,10 +3,10 @@ import { Length } from "class-validator";
|
|||||||
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
import type { Protobuf } from "@meshtastic/meshtasticjs";
|
||||||
|
|
||||||
export class WiFiValidation implements Protobuf.Config_WiFiConfig {
|
export class WiFiValidation implements Protobuf.Config_WiFiConfig {
|
||||||
@Length(1, 30)
|
@Length(1, 33)
|
||||||
ssid: string;
|
ssid: string;
|
||||||
|
|
||||||
@Length(8, 16)
|
@Length(8, 64)
|
||||||
psk: string;
|
psk: string;
|
||||||
|
|
||||||
apMode: boolean;
|
apMode: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user