Committer: anazarov
LJSUP-10704: Need display error for lj user with no verify email (s2)U trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm =================================================================== --- trunk/cgi-bin/LJ/S2.pm 2011-12-12 15:53:56 UTC (rev 20766) +++ trunk/cgi-bin/LJ/S2.pm 2011-12-13 06:34:39 UTC (rev 20767) @@ -3451,6 +3451,8 @@ $onclick = "" unless $page->{'_type'} eq 'EntryPage'; $onclick = "" if $LJ::DISABLED{'s2quickreply'}; $onclick = "" if $page->{'_u'}->{'opt_whocanreply'} eq 'friends' and $remote and not LJ::is_friend($page->{'_u'}, $remote); + $onclick = "" if $remote and $remote->is_deleted || $remote->is_suspended || $remote->is_expunged; + $onclick = "" if $remote and LJ::is_banned($page->{'_u'}, $remote); # See if we want to force them to change their password my $bp = LJ::bad_password_redirect({ 'returl' => 1 });