alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r10524: LJSUP-8485: Deny posting for users witho...

Committer: afedorov
LJSUP-8485: Deny posting for users without validating the account

U   trunk/cgi-bin/LJ/Hooks/CreatePage.pm
Modified: trunk/cgi-bin/LJ/Hooks/CreatePage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/CreatePage.pm	2011-05-19 04:07:59 UTC (rev 10523)
+++ trunk/cgi-bin/LJ/Hooks/CreatePage.pm	2011-05-19 04:27:34 UTC (rev 10524)
@@ -14,7 +14,7 @@
     use DateTime;
     my $date = DateTime->from_epoch( epoch => time() - 24*60*60 );
 
-    my $flags = { 'noauth' => 1, 'u' => $u, 'notimeupdate' => 1 };
+    my $flags = { 'noauth' => 1, 'u' => $u, 'notimeupdate' => 1, 'first_post' => 1 };
     my %res;
     my %req = ( 'mode'                => 'postevent',
                 'ver'                 => $LJ::PROTOCOL_VER,

Tags: ljcom, pm, red_alf
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