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

@ -150,6 +150,8 @@ is($url2, $session->url->page("op=auth;method=logout"), "templated custom text,
##Change settings to use encrypt login and verify which links use https.
$session->setting->set("encryptLogin", 1);
WebGUI::Test->originalConfig('sslEnabled');
$session->config->set('sslEnabled', 1);
$output = WebGUI::Macro::L_loginBox::process($session,'','',$template->getId);
%vars = simpleTextParser($output);