summaryrefslogtreecommitdiff
path: root/branding
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-09-08 03:46:07 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-09-08 20:10:14 +0200
commit85e61a7d05d2617bb1a003fdfe756f5e56520b89 (patch)
tree661213adee7847e75767d3d6bd52b5f38c74e17c /branding
parenta0e67fe3feb5b3a2d6d0f8e5f33ff96007955b17 (diff)
[feat] expose allowEmptyPass flag for provider config
Diffstat (limited to 'branding')
-rw-r--r--branding/config/vendor.conf1
-rw-r--r--branding/scripts/provider.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/branding/config/vendor.conf b/branding/config/vendor.conf
index 3657c2b..b519cf8 100644
--- a/branding/config/vendor.conf
+++ b/branding/config/vendor.conf
@@ -71,6 +71,7 @@ name = demolib
applicationName = DemoLib
binaryName = demo-lib
auth = sip
+authEmptyPass = true
providerURL = vpnlib.bitmask.net
apiURL = https://api.vpnlib.bitmask.net:4430/
diff --git a/branding/scripts/provider.py b/branding/scripts/provider.py
index a88179b..ffee1b3 100644
--- a/branding/scripts/provider.py
+++ b/branding/scripts/provider.py
@@ -18,7 +18,7 @@ def getProviderData(provider, config):
c = config[provider]
d = dict()
- keys = ('name', 'applicationName', 'binaryName', 'auth',
+ keys = ('name', 'applicationName', 'binaryName', 'auth', 'authEmptyPass',
'providerURL', 'tosURL', 'helpURL',
'askForDonations', 'donateURL', 'apiURL',
'geolocationAPI', 'caCertString')