Committer: afedorov
LJSUP-8485: Deny posting for users without validating the accountU 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,