Commit 5a1d0414 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 481910: Login forms point to http:// instead of https:// when…

Bug 481910: Login forms point to http:// instead of https:// when ssl='authenticated sessions' (regression) - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat
parent c126dc00
......@@ -28,7 +28,13 @@
[% target = "index.cgi" %]
[% END %]
[% target = urlbase _ target %]
[%# If SSL is in use, use 'sslbase', else use 'urlbase'. %]
[% IF Param("sslbase") != "" && Param("ssl") != "never" %]
[% target = Param("sslbase") _ target %]
[% ELSE %]
[% target = Param("urlbase") _ target %]
[% END %]
<li>
<form action="[% target FILTER html %]" method="POST" class="mini_login"
id="mini_login[% qs_suffix FILTER html %]"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment