[15/16] Revert "IPsec: Apple: Stop prompting for credentials"

Message ID 20200528175850.12638-16-michael.tremer@ipfire.org
State New
Headers show
Series
  • [01/16] IPsec: Use sane defaults for certificate lifetimes
Related show

Commit Message

Michael Tremer May 28, 2020, 5:58 p.m. UTC
This reverts commit eef4cd4b101da0c7ceab0c3386ad755ed242f8d5.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 html/cgi-bin/vpnmain.cgi | 6 ------
 1 file changed, 6 deletions(-)

Patch

diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi
index 2e0dd797d..bcbe6227e 100644
--- a/html/cgi-bin/vpnmain.cgi
+++ b/html/cgi-bin/vpnmain.cgi
@@ -1430,12 +1430,6 @@  END
 	print "					<key>ExtendedAuthEnabled</key>\n";
 	print "					<integer>0</integer>\n";
 
-	# These are not needed, but we provide some default to stop iPhone asking for credentials
-	print "					<key>AuthName</key>\n";
-	print "					<string>$confighash{$key}[1]</string>\n";
-	print "					<key>AuthPassword</key>\n";
-	print "					<string></string>\n";
-
 	# Connect the VPN automatically
 	print "					<key>OnDemandEnabled</key>\n";
 	print "					<integer>1</integer>\n";