alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r19081: LJSUP-8485: Deny posting for users witho...

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

U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2011-05-19 04:02:03 UTC (rev 19080)
+++ trunk/cgi-bin/ljprotocol.pl	2011-05-19 04:26:51 UTC (rev 19081)
@@ -1652,7 +1652,7 @@
     # except syndicated (rss, 'Y') journals
     # unless this is approved from the mod queue (we'll error out initially, but in case they change later)
     return fail($err, 155, LJ::Lang::ml('event.post.error.not_validated_email'))
-        unless $flags->{'noauth'} || $u->{'status'} eq 'A' || $u->{'journaltype'} eq 'Y';
+        unless $flags->{'first_post'} || $u->{'status'} eq 'A' || $u->{'journaltype'} eq 'Y';
 
     $req->{'event'} =~ s/\r\n/\n/g; # compact new-line endings to more comfort chars count near 65535 limit
 

Tags: livejournal, pl, 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