--- loncom/auth/lonacc.pm 2006/09/12 14:45:05 1.98 +++ loncom/auth/lonacc.pm 2006/09/19 15:24:57 1.99 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: lonacc.pm,v 1.98 2006/09/12 14:45:05 albertel Exp $ +# $Id: lonacc.pm,v 1.99 2006/09/19 15:24:57 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -201,7 +201,8 @@ sub handler { $handle=~s/\W//g; } - if (my $result = &sso_login($r,$lonid,$handle)) { + my $result = &sso_login($r,$lonid,$handle); + if (defined($result) { return $result }