summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-09-16 16:09:27 +1100
committerDamien Miller <djm@mindrot.org>2000-09-16 16:09:27 +1100
commit9d5705a4b34f09a02cffb751d0be076bf667c8bc (patch)
tree3c894615925f9e31444df0eb1f0356e22ae5b961 /session.c
parent8a1e6a629e6c712a0f24451b93c293536ad864e6 (diff)
- (djm) Add Steve VanDevender's <stevev@darkwing.uoregon.edu> PAM
password change patch. - (djm) Bring licenses on my stuff in line with OpenBSD's
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/session.c b/session.c
index 0cc919c6..296dfade 100644
--- a/session.c
+++ b/session.c
@@ -729,6 +729,8 @@ do_login(Session *s)
#ifdef USE_PAM
print_pam_messages();
+ /* If password change is needed, do it now. */
+ do_pam_chauthtok();
#endif /* USE_PAM */
#ifdef WITH_AIXAUTHENTICATE
if (aixloginmsg && *aixloginmsg)