fix(settings): wireguard preshared key from toml file

This commit is contained in:
Quentin McGaw
2023-11-08 09:38:10 +00:00
parent ab7d1ccf3d
commit de196490db
2 changed files with 5 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ func parseWireguardInterfaceSection(interfaceSection *ini.Section,
return err // error is already wrapped correctly
}
wireguard.PreSharedKey, err = parseINIWireguardKey(interfaceSection, "PreSharedKey")
wireguard.PreSharedKey, err = parseINIWireguardKey(interfaceSection, "PresharedKey")
if err != nil {
return err // error is already wrapped correctly
}