Browse Source

Fix max length for wifi credentials

pull/31/head
Sacha Weatherstone 4 years ago
parent
commit
258ffc2ec6
No known key found for this signature in database GPG Key ID: 7AB2D7E206124B31
  1. 4
      src/validation/config/wifi.ts

4
src/validation/config/wifi.ts

@ -3,10 +3,10 @@ import { Length } from "class-validator";
import type { Protobuf } from "@meshtastic/meshtasticjs";
export class WiFiValidation implements Protobuf.Config_WiFiConfig {
@Length(1, 30)
@Length(1, 33)
ssid: string;
@Length(8, 16)
@Length(8, 64)
psk: string;
apMode: boolean;

Loading…
Cancel
Save