projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b861e32
)
check for username, too
author
Alan T. DeKok
<aland@freeradius.org>
Fri, 26 May 2017 13:04:12 +0000
(09:04 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Fri, 26 May 2017 13:04:12 +0000
(09:04 -0400)
src/main/auth.c
patch
|
blob
|
history
diff --git
a/src/main/auth.c
b/src/main/auth.c
index
ecf42ed
..
79e639e
100644
(file)
--- a/
src/main/auth.c
+++ b/
src/main/auth.c
@@
-197,7
+197,7
@@
static int CC_HINT(nonnull) rad_check_password(REQUEST *request)
* Warn if more than one Auth-Type was found, because only the last
* one found will actually be used.
*/
- if ((auth_type_count > 1) && (rad_debug_lvl)) {
+ if ((auth_type_count > 1) && (rad_debug_lvl)
&& request->username
) {
RERROR("Warning: Found %d auth-types on request for user '%s'",
auth_type_count, request->username->vp_strvalue);
}