diff options
Diffstat (limited to 'auth-passwd.c')
-rw-r--r-- | auth-passwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth-passwd.c b/auth-passwd.c index e434a21e3..28f29cc65 100644 --- a/auth-passwd.c +++ b/auth-passwd.c | |||
@@ -97,7 +97,7 @@ auth_password(Authctxt *authctxt, const char *password) | |||
97 | return ok; | 97 | return ok; |
98 | } | 98 | } |
99 | #endif | 99 | #endif |
100 | #ifdef USE_SHADOW | 100 | #if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE) |
101 | if (auth_shadow_pwexpired(authctxt)) { | 101 | if (auth_shadow_pwexpired(authctxt)) { |
102 | disable_forwarding(); | 102 | disable_forwarding(); |
103 | authctxt->force_pwchange = 1; | 103 | authctxt->force_pwchange = 1; |