chiark / gitweb /
spot cookie is missing even though we can't tell what parm value is
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 18 Jan 2013 19:09:17 +0000 (19:09 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 18 Jan 2013 19:09:17 +0000 (19:09 +0000)
cgi-auth-flexible.pm

index eab1fe1..2f4cd83 100644 (file)
@@ -537,7 +537,7 @@ sub _check_divert_core ($) {
     if ($r->_ch('is_login')) {
        $r->_must_be_post();
        die unless $parmt;
     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".
             return ({ Kind => 'SMALLPAGE-NOCOOKIE',
                       Message => $r->_gt("You do not seem to have cookies".
                                          " enabled.  You must enable cookies".