--- loncom/auth/lonauth.pm 2012/08/27 00:52:45 1.122 +++ loncom/auth/lonauth.pm 2012/08/27 02:02:20 1.123 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.122 2012/08/27 00:52:45 raeburn Exp $ +# $Id: lonauth.pm,v 1.123 2012/08/27 02:02:20 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -173,13 +173,18 @@ sub failed { my $end_page = &Apache::loncommon::end_page(); &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; + my $loginhelp = &loginhelpdisplay($form->{'udom'}); + if ($loginhelp) { + $loginhelp = '

'.&mt('Login problems?').'

'; + } + $r->print( $start_page .'

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

' .'

'.&mt($message).'

' .'

'.&mt('Please [_1]log in again[_2].','','') .'

' - .'

'.&mt('Login problems?').'

' + .$loginhelp .$end_page ); }