]> granicus.if.org Git - apache-authnz-external/commitdiff
Indentation fixes
authorMicah Andersen <micah@bimi.org>
Fri, 1 Dec 2017 04:39:12 +0000 (23:39 -0500)
committerMicah Andersen <micah@bimi.org>
Fri, 1 Dec 2017 04:39:12 +0000 (23:39 -0500)
mod_authnz_external/mod_authnz_external.c

index 0a600eddf6b985506841f1b8263ef5ccb3f32b5e..f03079f2a69daa25af56bd387cd3226c37175cd3 100644 (file)
@@ -366,7 +366,7 @@ static const command_rec authnz_external_cmds[] =
        (void *)APR_OFFSETOF(authnz_external_dir_config_rec, authncheck),
        OR_AUTHCFG,
        "Set to 'off' if group authenticator should skip checking whether "
-                       "user is validly authenticated"),
+        "user is validly authenticated"),
 
     { NULL }
 };
@@ -646,9 +646,9 @@ static authz_status externalgroup_check_authorization(request_rec *r,
         /* If no authenticated user, pass */
         if ( !user ) return AUTHZ_DENIED_NO_USER;
     }else{
-               /* Prevent crash due to missing user */
-               if ( !user ) r->user = "";
-       }
+        /* Prevent crash due to missing user */
+        if ( !user ) r->user = "";
+    }
 
     /* If no external authenticator has been configured, pass */
     if ( !extname ) return AUTHZ_DENIED;
@@ -710,9 +710,9 @@ static authz_status externalfilegroup_check_authorization(request_rec *r,
         /* If no authenticated user, pass */
         if ( !user ) return AUTHZ_DENIED_NO_USER;
     }else{
-               /* Prevent crash due to missing user */
-               if ( !user ) r->user = "";
-       }
+        /* Prevent crash due to missing user */
+        if ( !user ) r->user = "";
+    }
 
     /* If no external authenticator has been configured, pass */
     if ( !extname ) return AUTHZ_DENIED;