--- loncom/auth/lonauth.pm 2008/07/13 00:51:31 1.94 +++ loncom/auth/lonauth.pm 2008/10/01 11:11:08 1.95 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.94 2008/07/13 00:51:31 raeburn Exp $ +# $Id: lonauth.pm,v 1.95 2008/10/01 11:11:08 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -122,11 +122,12 @@ sub failed { {'no_inline_link' => 1,}); my $end_page = &Apache::loncommon::end_page(); &Apache::loncommon::content_type($r,'text/html'); + sleep 1; # brute force counteraction: slow down attackers, which try to hack user authentication with automated scripts $r->send_http_header; $r->print( $start_page .'

'.&mt('Sorry ...').'

' - .'

'.&mt($message).'

' + .'

'.&mt($message).'

' .'

'.&mt('Please [_1]log in again[_2].' ,"{'uname'}&domain=$form->{'udom'}\">",'') .'

'