[LON-CAPA-cvs] cvs: loncom /cgi lonauthcgi.pm

raeburn raeburn@source.lon-capa.org
Fri, 21 Aug 2009 23:14:06 -0000


raeburn		Fri Aug 21 23:14:06 2009 EDT

  Modified files:              
    /loncom/cgi	lonauthcgi.pm 
  Log:
  -  early out was one loop too far out.
  
  
Index: loncom/cgi/lonauthcgi.pm
diff -u loncom/cgi/lonauthcgi.pm:1.3 loncom/cgi/lonauthcgi.pm:1.4
--- loncom/cgi/lonauthcgi.pm:1.3	Sat Jun 13 20:28:51 2009
+++ loncom/cgi/lonauthcgi.pm	Fri Aug 21 23:14:06 2009
@@ -1,7 +1,7 @@
 #
 # LON-CAPA authorization for cgi-bin scripts
 #
-# $Id: lonauthcgi.pm,v 1.3 2009/06/13 20:28:51 raeburn Exp $
+# $Id: lonauthcgi.pm,v 1.4 2009/08/21 23:14:06 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -194,8 +194,8 @@
                         }
                     }
                 }
+                last if $allowed;
             }
-            last if $allowed;
         }
     }
     return $allowed;