diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-01-31 12:15:06 -0600 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-08-20 20:27:41 +0200 |
commit | 8bb41cff9f47895e00d7773dfd9372a7e17fae59 (patch) | |
tree | 8c7658ec44f9df7af01aaf8391c3d66ab1686b4e /branding | |
parent | efdeba8e994669ccd21c50d2b7491905b47a217e (diff) |
[refactor] refactor auth files
Diffstat (limited to 'branding')
-rw-r--r-- | branding/config/vendor.conf | 3 | ||||
-rw-r--r-- | branding/scripts/provider.py | 2 | ||||
-rw-r--r-- | branding/templates/bitmaskvpn/config.go | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/branding/config/vendor.conf b/branding/config/vendor.conf index 0df2503..a1aca33 100644 --- a/branding/config/vendor.conf +++ b/branding/config/vendor.conf @@ -10,6 +10,7 @@ applicationName = RiseupVPN binaryName = riseup-vpn providerURL = riseup.net +auth = anon apiURL = https://api.black.riseup.net/ caURL = https://black.riseup.net/ca.crt @@ -30,6 +31,7 @@ applicationName = CalyxVPN binaryName = calyx-vpn providerURL = https://calyx.net +auth = anon apiURL = https://api.calyx.net:4430/ caURL = https://calyx.net/ca.crt @@ -47,6 +49,7 @@ donateURL = http://example.org name = demo applicationName = DemoVPN binaryName = demo-vpn +auth = anon providerURL = pt.demo.bitmask.net apiURL = https://pt.demo.bitmask.net:8000/ diff --git a/branding/scripts/provider.py b/branding/scripts/provider.py index b1beab9..a88179b 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', + keys = ('name', 'applicationName', 'binaryName', 'auth', 'providerURL', 'tosURL', 'helpURL', 'askForDonations', 'donateURL', 'apiURL', 'geolocationAPI', 'caCertString') diff --git a/branding/templates/bitmaskvpn/config.go b/branding/templates/bitmaskvpn/config.go index a4dc28c..e3d70cf 100644 --- a/branding/templates/bitmaskvpn/config.go +++ b/branding/templates/bitmaskvpn/config.go @@ -10,6 +10,7 @@ const ( Provider = "$providerURL" ApplicationName = "$applicationName" BinaryName = "$binaryName" + Auth = "$auth" DonateURL = "$donateURL" AskForDonations = "$askForDonations" HelpURL = "$helpURL" |