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 d419fa0d..9901d484 100644 --- a/auth-passwd.c +++ b/auth-passwd.c @@ -117,7 +117,7 @@ auth_password(Authctxt *authctxt, const char *password) if (pw == NULL) return 0; #ifndef HAVE_CYGWIN - if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_NO_PASSWD) + if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES) return 0; #endif if (*password == '\0' && options.permit_empty_passwd == 0) |