Changeset 82 in openpam


Ignore:
Timestamp:
Feb 23, 2002, 6:07:30 PM (16 years ago)
Author:
Dag-Erling Smørgrav
Message:

Clear PAM_AUTHTOK after running the service modules.

Sponsored by: DARPA, NAI Labs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_authenticate.c

    r63 r82  
    5252        int flags)
    5353{
     54        int pam_err;
    5455
    55         return (openpam_dispatch(pamh, PAM_SM_AUTHENTICATE, flags));
     56        pam_err = openpam_dispatch(pamh, PAM_SM_AUTHENTICATE, flags);
     57        pam_set_item(pamh, PAM_AUTHTOK, NULL);
     58        return (pam_err);
    5659}
    5760
Note: See TracChangeset for help on using the changeset viewer.