--- loncom/auth/checkauthen.pm 2006/06/01 22:29:49 1.2 +++ loncom/auth/checkauthen.pm 2006/06/02 19:29:21 1.3 @@ -1,7 +1,7 @@ # The LearningOnline Network # checks for a cokkie to authenticate a user # -# $Id: checkauthen.pm,v 1.2 2006/06/01 22:29:49 albertel Exp $ +# $Id: checkauthen.pm,v 1.3 2006/06/02 19:29:21 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -36,7 +36,7 @@ use Apache::lonnet; sub handler { my ($r) = @_; - if ($r->type ne 'Basic') { + if ($r->auth_type() eq 'Basic') { return DECLINED; } my $fail = FORBIDDEN;