[09/16] IPsec: Apple: Stop prompting for credentials
Commit Message
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
html/cgi-bin/vpnmain.cgi | 6 ++++++
1 file changed, 6 insertions(+)
@@ -1401,6 +1401,12 @@ 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";
print " </dict>\n";
print " </dict>\n";