? CAS
? cas.coder
? cas.original
Index: cas.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cas/cas.module,v
retrieving revision 1.13.2.4
diff -u -r1.13.2.4 cas.module
--- cas.module	12 Mar 2008 01:58:01 -0000	1.13.2.4
+++ cas.module	12 Mar 2008 20:53:40 -0000
@@ -78,17 +78,17 @@
     $cas_name = phpCAS::getUser();
     
     if (user_is_blocked($cas_name)) {
-    	
-       // blocked in user administration
-       drupal_set_message("The username $cas_name has been blocked.", "error");
-       return;
-     }
-     else if (drupal_is_denied('user', $cas_name)) {
-       // denied by access controls
-       drupal_set_message("The name $cas_name is a reserved username.", "error");
-       return;
-     }
-       
+      
+      // blocked in user administration
+      drupal_set_message("The username $cas_name has been blocked.", "error");
+      return;
+    }
+    else if (drupal_is_denied('user', $cas_name)) {
+      // denied by access controls
+      drupal_set_message("The name $cas_name is a reserved username.", "error");
+      return;
+    }
+    
     // try to log into Drupal
     if ($cas_authmap) {
       // users are coming from Drupal; no need to use the external_load and the authmap
