Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r10370: LJSUP-8547 (Add ability to post an entry...

Committer: ailyin
LJSUP-8547 (Add ability to post an entry to community for identity accounts)
U   trunk/cgi-bin/ljcom.pl
Modified: trunk/cgi-bin/ljcom.pl
===================================================================
--- trunk/cgi-bin/ljcom.pl	2011-04-11 09:53:28 UTC (rev 10369)
+++ trunk/cgi-bin/ljcom.pl	2011-04-11 10:18:09 UTC (rev 10370)
@@ -704,6 +704,8 @@
     my $haveu = defined $arg->{'u'} && LJ::isu($arg->{'u'});
     return undef unless $haveu || defined $arg->{'password'};
 
+    return if $haveu && $arg->{'u'}->is_identity;
+
     my $password = defined $arg->{'password'} ? $arg->{'password'} : $arg->{'u'}->password;
 
     # Setup to do smarter checks

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