mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
fix: no-pwd WOL
This commit is contained in:
@@ -28,7 +28,9 @@ final class WakeOnLanCfg {
|
||||
? InternetAddressType.IPv6
|
||||
: InternetAddressType.IPv4,
|
||||
);
|
||||
final pwdValidation = SecureONPassword.validate(pwd);
|
||||
final pwdValidation = pwd != null
|
||||
? SecureONPassword.validate(pwd)
|
||||
: (state: true, error: null);
|
||||
|
||||
final valid =
|
||||
macValidation.state && ipValidation.state && pwdValidation.state;
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 907;
|
||||
static const int build = 908;
|
||||
static const String engine = "3.22.0";
|
||||
static const String buildAt = "2024-05-22 19:34:37";
|
||||
static const int modifications = 14;
|
||||
static const String buildAt = "2024-05-22 22:25:06";
|
||||
static const int modifications = 4;
|
||||
static const int script = 48;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user