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