--- loncom/auth/lonauth.pm 2008/07/10 00:26:40 1.93 +++ loncom/auth/lonauth.pm 2009/05/27 16:54:52 1.98 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.93 2008/07/10 00:26:40 raeburn Exp $ +# $Id: lonauth.pm,v 1.98 2009/05/27 16:54:52 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -84,8 +84,7 @@ sub success { my $end_page =&Apache::loncommon::end_page(); my $continuelink; - if (($env{'browser.interface'} eq 'textual') || - ($env{'environment.remote'} eq 'off')) { + if ($env{'environment.remote'} eq 'off') { $continuelink="".&mt('Continue').""; } # ------------------------------------------------- Output for successful login @@ -126,7 +125,7 @@ sub failed { $r->print( $start_page .'
'.&mt($message).'
' + .''.&mt($message).'
' .''.&mt('Please [_1]log in again[_2].' ,"{'uname'}&domain=$form->{'udom'}\">",'') .'
' @@ -172,7 +171,7 @@ sub handler { $r->print( $start_page .''.&mt('Please either [_1]continue the current session[_2] or [_3]logout[_4].' + .'
'.&mt('Please either [_1]continue the current session[_2] or [_3]log out[_4].' ,'','','','') .'
' .'' @@ -298,32 +297,15 @@ sub handler { &Apache::loncommon::build_recipient_list(undef,'helpdeskmail', $form{'udom'},$origmail); my ($contact_email) = split(',',$contacts); - my ($output,$checkfail) = - &Apache::createaccount::username_check($form{'uname'},$form{'udom'}, - $domdesc,undef,$lonhost, - $contact_email); + my $output = &Apache::createaccount::username_check($form{'uname'}, + $form{'udom'},$domdesc,'', + $lonhost,$contact_email,$contact_name); &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; &Apache::createaccount::print_header($r,$start_page); - my $msg = '