Skip to content

Commit

Permalink
don't log Cleartext-Password
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Sep 14, 2017
1 parent cabbcca commit cf9c07a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/rlm_pap/rlm_pap.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,7 @@ static rlm_rcode_t CC_HINT(nonnull) pap_auth_clear(UNUSED rlm_pap_t const *inst,
(fr_digest_cmp(vp->vp_octets,
request->password->vp_octets,
vp->vp_length) != 0)) {
REDEBUG("Cleartext password \"%s\" does not match \"known good\" password",
request->password->vp_strvalue);
REDEBUG("Cleartext password does not match \"known good\" password");
return RLM_MODULE_REJECT;
}
return RLM_MODULE_OK;
Expand Down

0 comments on commit cf9c07a

Please sign in to comment.