Skip to content

Commit

Permalink
The input packet can't be an Access-Challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Apr 8, 2014
1 parent d76a777 commit 56792b6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/modules/rlm_pap/rlm_pap.c
Expand Up @@ -384,14 +384,6 @@ static rlm_rcode_t mod_authorize(void *instance, REQUEST *request)
*/
if (!request->password ||
(request->password->da->attr != PW_USER_PASSWORD)) {
/*
* Don't print out debugging messages if we know
* they're useless.
*/
if (request->packet->code == PW_CODE_ACCESS_CHALLENGE) {
return RLM_MODULE_NOOP;
}

RDEBUG2("No cleartext password in the request. Not performing PAP");
return RLM_MODULE_NOOP;
}
Expand Down

0 comments on commit 56792b6

Please sign in to comment.