Browse Source

Security fix

master
Andrea Luzzardi 17 years ago
parent
commit
b577f90eab
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pam_usb/src/pam.c

+ 1
- 1
pam_usb/src/pam.c View File

@ -72,7 +72,7 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags,
if (tty && !strcmp(tty, "ssh")) if (tty && !strcmp(tty, "ssh"))
{ {
log_debug("SSH Authentication, aborting.\n"); log_debug("SSH Authentication, aborting.\n");
return (0);
return (PAM_AUTH_ERR);
} }
} }
if (!pusb_local_login(&opts, user)) if (!pusb_local_login(&opts, user))


Loading…
Cancel
Save