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 eab1fe1b84d21768c0b36d74c70ecc82921a45be..2f4cd83e66e05f6b410e50cc54df15a7ace142b0 100644 (file)
@@ -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".