[LON-CAPA-cvs] cvs: loncom /auth checkauthen.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 05 Jun 2006 15:08:48 -0000


albertel		Mon Jun  5 11:08:48 2006 EDT

  Modified files:              
    /loncom/auth	checkauthen.pm 
  Log:
  - reverting
  
  
Index: loncom/auth/checkauthen.pm
diff -u loncom/auth/checkauthen.pm:1.4 loncom/auth/checkauthen.pm:1.5
--- loncom/auth/checkauthen.pm:1.4	Mon Jun  5 06:03:11 2006
+++ loncom/auth/checkauthen.pm	Mon Jun  5 11:08:48 2006
@@ -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 @@
 sub handler {
     my ($r) = @_;
 
-    if ($r->auth_type() ne 'Basic') {
+    if ($r->auth_type() eq 'Basic') {
 	return DECLINED;
     }
     my $fail = FORBIDDEN;