From 5a1d041473337877d419e6c1681972ebcf078a11 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 6 Mar 2009 19:58:55 +0000 Subject: [PATCH] =?utf8?q?Bug=20481910:=20Login=20forms=20point=20to=20htt?= =?utf8?q?p://=20instead=20of=20https://=20when=20ssl=3D'authenticated=20s?= =?utf8?q?essions'=20(regression)=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83?= =?utf8?q?=C2=A9ric=20Buclin=20=20r/a=3Dmkanat?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- template/en/default/account/auth/login-small.html.tmpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 92901631fe..19dbf8db9b 100644 --- a/template/en/default/account/auth/login-small.html.tmpl +++ b/template/en/default/account/auth/login-small.html.tmpl @@ -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 %] +