summaryrefslogtreecommitdiff
path: root/main/src/ui
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2020-04-23 12:34:18 +0200
committerArne Schwabe <arne@rfc2549.org>2020-04-23 12:34:18 +0200
commit6e879f97d3b7d5fe3c6f315e7ac050d7bcd47811 (patch)
tree40e4d8e7f1e4ae194300722d7f93d7a5603da4d0 /main/src/ui
parent6c3c646b550ddd8ebfaaaf3bf11891dcea432c3e (diff)
Declare this app can do tls-crypt-v2 when importing a profile from
an AS server
Diffstat (limited to 'main/src/ui')
-rw-r--r--main/src/ui/java/de/blinkt/openvpn/fragments/ImportASConfig.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/fragments/ImportASConfig.kt b/main/src/ui/java/de/blinkt/openvpn/fragments/ImportASConfig.kt
index ee912897..855caae6 100644
--- a/main/src/ui/java/de/blinkt/openvpn/fragments/ImportASConfig.kt
+++ b/main/src/ui/java/de/blinkt/openvpn/fragments/ImportASConfig.kt
@@ -202,9 +202,9 @@ class ImportASConfig : DialogFragment() {
asurl = "https://" + asurl
if (autologin)
- asurl += "/rest/GetAutologin"
+ asurl += "/rest/GetAutologin?tls-cryptv2=1"
else
- asurl += "/rest/GetUserlogin"
+ asurl += "/rest/GetUserlogin?tls-cryptv2=1"
val asUri = HttpUrl.parse(asurl)
return asUri