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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 07 Sep 2006 17:07:26 -0000


albertel		Thu Sep  7 13:07:26 2006 EDT

  Modified files:              
    /loncom/auth	checkauthen.pm 
  Log:
  - only trigger on the lon-capa case
  
  
Index: loncom/auth/checkauthen.pm
diff -u loncom/auth/checkauthen.pm:1.6 loncom/auth/checkauthen.pm:1.7
--- loncom/auth/checkauthen.pm:1.6	Wed Aug 30 17:35:08 2006
+++ loncom/auth/checkauthen.pm	Thu Sep  7 13:07:26 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # checks for a cokkie to authenticate a user
 #
-# $Id: checkauthen.pm,v 1.6 2006/08/30 21:35:08 albertel Exp $
+# $Id: checkauthen.pm,v 1.7 2006/09/07 17:07:26 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -36,7 +36,7 @@
 sub handler {
     my ($r) = @_;
 
-    if ($r->auth_type() eq 'Basic') {
+    if ($r->auth_type() ne 'LONCAPA') {
 	return DECLINED;
     }
     my $fail = FORBIDDEN;