diff options
Diffstat (limited to 'auth1.c')
-rw-r--r-- | auth1.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ do_authloop(Authctxt *authctxt) | |||
80 | authctxt->valid ? "" : "illegal user ", authctxt->user); | 80 | authctxt->valid ? "" : "illegal user ", authctxt->user); |
81 | 81 | ||
82 | /* If the user has no password, accept authentication immediately. */ | 82 | /* If the user has no password, accept authentication immediately. */ |
83 | if (options.password_authentication && | 83 | if (options.password_authentication && options.permit_empty_passwd && |
84 | #if defined(KRB4) || defined(KRB5) | 84 | #if defined(KRB4) || defined(KRB5) |
85 | (!options.kerberos_authentication || options.kerberos_or_local_passwd) && | 85 | (!options.kerberos_authentication || options.kerberos_or_local_passwd) && |
86 | #endif | 86 | #endif |