diff options
author | Damien Miller <djm@mindrot.org> | 2001-02-15 11:51:32 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-02-15 11:51:32 +1100 |
commit | 646aa60b41c7630fbc4d30811419df3900743302 (patch) | |
tree | 498f929872d06adfcf6458030476d88ac4039bbe /session.c | |
parent | e8b5b04521f33d868ac3301802e3dab1f57588fd (diff) |
- (djm) Clean up PAM namespace. Suggested by Darren Moffat
<Darren.Moffat@eng.sun.com>
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -719,7 +719,7 @@ do_login(Session *s, const char *command) * If password change is needed, do it now. * This needs to occur before the ~/.hushlogin check. */ - if (pam_password_change_required()) { + if (is_pam_password_change_required()) { print_pam_messages(); do_pam_chauthtok(); } @@ -737,7 +737,7 @@ do_login(Session *s, const char *command) return; #ifdef USE_PAM - if (!pam_password_change_required()) + if (!is_pam_password_change_required()) print_pam_messages(); #endif /* USE_PAM */ #ifdef WITH_AIXAUTHENTICATE |