From: jcarneal Date: Fri, 1 Dec 2000 21:13:38 +0000 (+0000) Subject: Only log multiple auth-types if debugging. This was causing me grief X-Git-Tag: release_0_1_0~368 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=0d2f3c362fe30678fecd96646e7f4b7e2ac89603;p=freeradius.git Only log multiple auth-types if debugging. This was causing me grief due to auth_type_fixup adding auth-types I didn't want. --- diff --git a/src/main/auth.c b/src/main/auth.c index ace8d3b..8e3dfb6 100644 --- a/src/main/auth.c +++ b/src/main/auth.c @@ -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); }