Commit 3b8b909f authored by Xavier Guimard's avatar Xavier Guimard

Little bug in CDA

parent b0b971b2
......@@ -43,7 +43,7 @@ sub run ($$) {
$host =~ s/^[^\.]+\.(.*\..*$)/$1/;
lmSetErrHeaderOut( $apacheRequest,
'Set-Cookie' => "$str; domain=$host; path=/"
. ( $cookieSecured ? "; secure" : "" ) );
. ( $https ? "; secure" : "" ) );
return REDIRECT;
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment