chiark / gitweb /
fix is_loggedout
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 21 Jan 2013 16:47:52 +0000 (16:47 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 21 Jan 2013 16:47:52 +0000 (16:47 +0000)
cgi-auth-flexible.pm

index fbb9ab3529c1de1c0d28326395760d51dea6c9c2..de603bc7c329ab250cfd64d467327d17cda23483 100644 (file)
@@ -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 => '',