sslEnabled in the config file trumps encryptLogin in the settings.

This commit is contained in:
Colin Kuskie 2012-03-10 15:57:48 -08:00
parent b39a7d5f0f
commit 9a09ec0447
4 changed files with 7 additions and 4 deletions

View file

@ -96,7 +96,7 @@ sub process {
}
my $action;
if ($session->setting->get("encryptLogin")) {
if ($session->config->get('sslEnabled') && $session->setting->get("encryptLogin")) {
my $uri = URI->new($session->url->page(undef,1));
$uri->scheme('https');
$uri->host_port($uri->host);