Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r19860: LJSUP-8857: Updating commenting form

Committer: amyshkin
LJSUP-8857: Updating commenting form
U   trunk/cgi-bin/LJ/Talk/Post.pm
Modified: trunk/cgi-bin/LJ/Talk/Post.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk/Post.pm	2011-08-26 03:59:45 UTC (rev 19859)
+++ trunk/cgi-bin/LJ/Talk/Post.pm	2011-08-26 04:16:50 UTC (rev 19860)
@@ -288,10 +288,13 @@
 
     ### two hacks; unsure if these need to stay
     if ($form->{'userpost'} && $form->{'usertype'} ne "user") {
-        unless ($form->{'usertype'} eq "cookieuser" &&
-                $form->{'userpost'} eq $form->{'cookieuser'}) {
-            $bmlerr->("$SC.error.confused_identity");
-        }
+# i think it's totally wrong
+#        unless ($form->{'usertype'} eq "cookieuser" &&
+#                $form->{'userpost'} eq $form->{'cookieuser'}) {
+#            $bmlerr->("$SC.error.confused_identity");
+#        }
+# end of wrong code
+        $form->{'post'} = undef;
     }
 
     # anonymous/cookie users cannot authenticate with ecphash

Tags: livejournal, pm, zilogic
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments