--- loncom/auth/checkauthen.pm 2006/06/05 10:03:11 1.4 +++ loncom/auth/checkauthen.pm 2006/06/05 15:08:48 1.5 @@ -1,7 +1,7 @@ # The LearningOnline Network # checks for a cokkie to authenticate a user # -# $Id: checkauthen.pm,v 1.4 2006/06/05 10:03:11 foxr Exp $ +# $Id: checkauthen.pm,v 1.5 2006/06/05 15:08:48 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -36,7 +36,7 @@ use Apache::lonnet; sub handler { my ($r) = @_; - if ($r->auth_type() ne 'Basic') { + if ($r->auth_type() eq 'Basic') { return DECLINED; } my $fail = FORBIDDEN;