From: Ian Jackson Date: Mon, 21 Jan 2013 16:47:52 +0000 (+0000) Subject: fix is_loggedout X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=cgi-auth-flexible.git;a=commitdiff_plain;h=d68ff7f8863c21b2f23fdbf9ca0a41d8f767f9a5 fix is_loggedout --- diff --git a/cgi-auth-flexible.pm b/cgi-auth-flexible.pm index fbb9ab3..de603bc 100644 --- a/cgi-auth-flexible.pm +++ b/cgi-auth-flexible.pm @@ -536,8 +536,8 @@ sub _check_divert_core ($) { } if ($r->_ch('is_loggedout')) { die unless $meth eq 'GET'; - die unless $cookt; - die unless $parmt; + die if $cookt eq 'y'; + die if $parmt; return ({ Kind => 'SMALLPAGE-LOGGEDOUT', Message => $r->_gt("You have been logged out."), CookieSecret => '',