summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/account/auth/login-small.html.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl
index 92901631f..19dbf8db9 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 %]
+
<li>
<form action="[% target FILTER html %]" method="POST" class="mini_login"
id="mini_login[% qs_suffix FILTER html %]"