Return to checkauthen.pm CVS log | Up to [LON-CAPA] / loncom / auth |
version 1.2, 2006/06/01 22:29:49 | version 1.3, 2006/06/02 19:29:21 |
---|---|
Line 36 use Apache::lonnet; | Line 36 use Apache::lonnet; |
sub handler { | sub handler { |
my ($r) = @_; | my ($r) = @_; |
if ($r->type ne 'Basic') { | if ($r->auth_type() eq 'Basic') { |
return DECLINED; | return DECLINED; |
} | } |
my $fail = FORBIDDEN; | my $fail = FORBIDDEN; |