From d68ff7f8863c21b2f23fdbf9ca0a41d8f767f9a5 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 21 Jan 2013 16:47:52 +0000 Subject: [PATCH] fix is_loggedout --- cgi-auth-flexible.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 => '', -- 2.30.2