Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- html/cgi-bin/vpnmain.cgi | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index 7011454fa..0d141cb88 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -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";