Committer: akanashin
LJSUP-14126: Changes connected with new requirements to the passwordU trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl =================================================================== --- trunk/cgi-bin/ljprotocol.pl 2012-10-30 15:28:41 UTC (rev 23221) +++ trunk/cgi-bin/ljprotocol.pl 2012-10-31 07:15:15 UTC (rev 23222) @@ -5268,9 +5268,6 @@ return $msg->("not_validated") if ($u->{'status'} eq "N" and not $LJ::EVERYONE_VALID); return $msg->("must_revalidate") if ($u->{'status'} eq "T" and not $LJ::EVERYONE_VALID); - my $checkpass = LJ::run_hook("bad_password", { 'u' => $u }); - return $msg->("bad_password", { 'pre' => "$checkpass " }) if $checkpass; - return $msg->("old_win32_client") if $req->{'clientversion'} =~ /^Win32-MFC\/(1.2.[0123456])$/; return $msg->("old_win32_client") if $req->{'clientversion'} =~ /^Win32-MFC\/(1.3.[01234])\b/; return $msg->("hello_test") if grep { $u->{user} eq $_ } @LJ::TESTACCTS;