mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-04-29 06:45 am

[dw-free] http://bugs.dwscoalition.org/show_bug.cgi?id=1013

[commit: http://hg.dwscoalition.org/dw-free/rev/b70ef046b58e]

http://bugs.dwscoalition.org/show_bug.cgi?id=1013

Fix the last commit which left out a part to make the logic work completely.

Patch by [personal profile] afuna.

Files modified:
  • cgi-bin/talklib.pl
--------------------------------------------------------------------------------
diff -r f6dbed2712c3 -r b70ef046b58e cgi-bin/talklib.pl
--- a/cgi-bin/talklib.pl	Wed Apr 29 06:41:40 2009 +0000
+++ b/cgi-bin/talklib.pl	Wed Apr 29 06:45:23 2009 +0000
@@ -2890,7 +2890,7 @@ sub init {
             unless $remote && $remote->{'user'} eq $userpost;
         return undef if @$errret;
 
-        $cookie_auth = 1;
+        $cookie_auth = 1 unless exists $form->{ecphash};
         $form->{'userpost'} = $remote->{'user'};
         $form->{'usertype'} = "user";
     }
--------------------------------------------------------------------------------