Only log multiple auth-types if debugging. This was causing me grief
authorjcarneal <jcarneal>
Fri, 1 Dec 2000 21:13:38 +0000 (21:13 +0000)
committerjcarneal <jcarneal>
Fri, 1 Dec 2000 21:13:38 +0000 (21:13 +0000)
due to auth_type_fixup adding auth-types I didn't want.

src/main/auth.c

index ace8d3b..8e3dfb6 100644 (file)
@@ -204,7 +204,7 @@ int rad_check_password(REQUEST *request)
                }
        }
 
-       if(auth_type_count>1) {
+       if((auth_type_count>1) && (debug_flag)) {
                radlog(L_ERR, "Warning:  Found %d auth-types on request for user '%s'", 
                        auth_type_count, request->username->strvalue);
        }