fix(airvpn): allow Airvpn as Wireguard provider

This commit is contained in:
Quentin McGaw
2023-05-24 21:47:31 +00:00
parent 3100cc1e5e
commit 1827a03afd

View File

@@ -45,6 +45,7 @@ var regexpInterfaceName = regexp.MustCompile(`^[a-zA-Z0-9_]+$`)
// It should only be ran if the VPN type chosen is Wireguard.
func (w Wireguard) validate(vpnProvider string, ipv6Supported bool) (err error) {
if !helpers.IsOneOf(vpnProvider,
providers.Airvpn,
providers.Custom,
providers.Ivpn,
providers.Mullvad,