diff options
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) | |||
719 | * If password change is needed, do it now. | 719 | * If password change is needed, do it now. |
720 | * This needs to occur before the ~/.hushlogin check. | 720 | * This needs to occur before the ~/.hushlogin check. |
721 | */ | 721 | */ |
722 | if (pam_password_change_required()) { | 722 | if (is_pam_password_change_required()) { |
723 | print_pam_messages(); | 723 | print_pam_messages(); |
724 | do_pam_chauthtok(); | 724 | do_pam_chauthtok(); |
725 | } | 725 | } |
@@ -737,7 +737,7 @@ do_login(Session *s, const char *command) | |||
737 | return; | 737 | return; |
738 | 738 | ||
739 | #ifdef USE_PAM | 739 | #ifdef USE_PAM |
740 | if (!pam_password_change_required()) | 740 | if (!is_pam_password_change_required()) |
741 | print_pam_messages(); | 741 | print_pam_messages(); |
742 | #endif /* USE_PAM */ | 742 | #endif /* USE_PAM */ |
743 | #ifdef WITH_AIXAUTHENTICATE | 743 | #ifdef WITH_AIXAUTHENTICATE |