diff options
author | mkanat%bugzilla.org <> | 2009-10-09 06:31:08 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-10-09 06:31:08 +0200 |
commit | 8ecb3ad6ecc8d636fb205895d736108cbc8083a1 (patch) | |
tree | 69b5da83e47b1fc8481227f2ec46aba1261e84ad /Bugzilla/Config.pm | |
parent | 4671e0ffd9920d000fb6191999288ed12d4dac52 (diff) | |
download | bugzilla-8ecb3ad6ecc8d636fb205895d736108cbc8083a1.tar.gz bugzilla-8ecb3ad6ecc8d636fb205895d736108cbc8083a1.tar.xz |
Bug 514913: Eliminate ssl="authenticated sessions"
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/Config.pm')
-rw-r--r-- | Bugzilla/Config.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/Config.pm b/Bugzilla/Config.pm index a20751737..f56ffd78a 100644 --- a/Bugzilla/Config.pm +++ b/Bugzilla/Config.pm @@ -192,6 +192,11 @@ sub update_params { $param->{'mail_delivery_method'} = $translation{$method}; } + # Convert the old "ssl" parameter to the new "ssl_redirect" parameter. + # Both "authenticated sessions" and "always" turn on "ssl_redirect" + # when upgrading. + $param->{'ssl_redirect'} = 1 if $param->{'ssl'} ne 'never'; + # --- DEFAULTS FOR NEW PARAMS --- _load_params unless %params; |