From 8ecb3ad6ecc8d636fb205895d736108cbc8083a1 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 9 Oct 2009 04:31:08 +0000 Subject: Bug 514913: Eliminate ssl="authenticated sessions" Patch by Max Kanat-Alexander r=dkl, a=mkanat --- template/en/default/account/auth/login-small.html.tmpl | 7 +------ template/en/default/admin/params/core.html.tmpl | 8 ++++++-- template/en/default/bug/edit.html.tmpl | 3 ++- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'template/en') diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 752aa64df..710d7d0a5 100644 --- a/template/en/default/account/auth/login-small.html.tmpl +++ b/template/en/default/account/auth/login-small.html.tmpl @@ -28,12 +28,7 @@ [% login_target = "index.cgi" %] [% END %] -[%# If SSL is in use, use 'sslbase', else use 'urlbase'. %] -[% IF Param("sslbase") != "" && Param("ssl") != "never" %] - [% login_target = Param("sslbase") _ login_target %] -[% ELSE %] - [% login_target = Param("urlbase") _ login_target %] -[% END %] +[% login_target = urlbase _ login_target %]
  • | diff --git a/template/en/default/admin/params/core.html.tmpl b/template/en/default/admin/params/core.html.tmpl index d66c4a51b..b65dde233 100644 --- a/template/en/default/admin/params/core.html.tmpl +++ b/template/en/default/admin/params/core.html.tmpl @@ -42,8 +42,12 @@ sslbase => "The URL that is the common initial leading part of all HTTPS " _ "(SSL) $terms.Bugzilla URLs.", - ssl => "Controls when $terms.Bugzilla should enforce sessions to use HTTPS by " _ - "using sslbase.", + ssl_redirect => + "When this is enabled, $terms.Bugzilla will ensure that every page is" + _ " accessed over SSL, by redirecting any plain HTTP requests to HTTPS" + _ " using the sslbase parameter. Also, when this is enabled," + _ " $terms.Bugzilla will send out links using sslbase in emails" + _ " instead of urlbase.", cookiedomain => "The domain for $terms.Bugzilla cookies. Normally blank. " _ "If your website is at 'www.foo.com', setting this to " _ diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 76ca259e5..d5a345182 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -277,7 +277,8 @@ Note

    You need to - log in + log in before you can comment on or make changes to this [% terms.bug %].

    -- cgit v1.2.3-24-g4f1b