Skip to content

Commit c1b0f66

Browse files
committed
Update submodule and disregard password on open networks
1 parent 38af21d commit c1b0f66

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

UnattendGen.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
8-
<AssemblyVersion>0.6.1.2522</AssemblyVersion>
9-
<FileVersion>0.6.1.2522</FileVersion>
8+
<AssemblyVersion>0.6.2.2532</AssemblyVersion>
9+
<FileVersion>0.6.2.2532</FileVersion>
1010
<Copyright>(c) 2024-2025. CodingWonders Software, Christoph Schneegans</Copyright>
1111
</PropertyGroup>
1212
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

UserSettings/WirelessNetwork.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ public WirelessNetwork(string? ssid, string? password, AuthenticationProtocol au
3939
SSID = ssid;
4040
Password = password;
4141
Authentication = authProtocol;
42+
// Disregard password on open networks
43+
if (authProtocol == AuthenticationProtocol.Open)
44+
Password = "";
4245
NonBroadcast = nonBroadcast;
4346
}
4447

0 commit comments

Comments
 (0)