From: Ian Jackson Date: Fri, 18 Jan 2013 19:09:17 +0000 (+0000) Subject: spot cookie is missing even though we can't tell what parm value is X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=cgi-auth-flexible.git;a=commitdiff_plain;h=0500f383b681a3260cfe478bef7b5b74ced21bc6;ds=sidebyside spot cookie is missing even though we can't tell what parm value is --- diff --git a/cgi-auth-flexible.pm b/cgi-auth-flexible.pm index eab1fe1..2f4cd83 100644 --- a/cgi-auth-flexible.pm +++ b/cgi-auth-flexible.pm @@ -537,7 +537,7 @@ sub _check_divert_core ($) { if ($r->_ch('is_login')) { $r->_must_be_post(); die unless $parmt; - if (!$cookt && $parmt eq 't') { + if (!$cookt && $parmt eq 'n') { return ({ Kind => 'SMALLPAGE-NOCOOKIE', Message => $r->_gt("You do not seem to have cookies". " enabled. You must enable cookies".