--- loncom/auth/lonauth.pm 2001/06/02 16:10:04 1.19 +++ loncom/auth/lonauth.pm 2001/08/16 02:03:15 1.23 @@ -5,6 +5,9 @@ # 1/14,2/24,2/28,2/29,3/7,5/29,5/30,5/31,6/1,6/5,6/29, # 7/1,7/10,10/2,10/5,10/9,10/26,10/30,11/10, # 05/28,05/29 Gerd Kortemeyer +# 07/24 Scott Harrison +# 07/28,08/03 Gerd Kortemeyer +# 8/15 Scott Harrison package Apache::lonauth; @@ -120,10 +123,10 @@ sub success { # ------------------------------------------------- Check for critical messages - my @what=&Apache::lonnet::dump('critical'); + my @what=&Apache::lonnet::dump('critical',$domain,$username); if ($what[0]) { - if ($what[0] ne 'con_lost') { - $lowerurl='/adm/email/critical/'.$what[0]; + if (($what[0] ne 'con_lost') && ($what[0]!~/^error\:/)) { + $lowerurl='/adm/email?critical=display'; } } @@ -170,20 +173,23 @@ function wait() { } function main() { - canceltim=setTimeout('tim=1;',20000); + canceltim=setTimeout('tim=1;',80000); checkdef(); wait(); } - + $windowinfo

Welcome!

+ ENDSUCCESS