From 3389092d781e52bb3a9c737636f4d11cd72ac2e2 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Wed, 11 Oct 2006 19:43:32 +0000 Subject: [PATCH] Bugfix --- pam_usb/src/pusb_check.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pam_usb/src/pusb_check.c b/pam_usb/src/pusb_check.c index 340025e..fe6a683 100644 --- a/pam_usb/src/pusb_check.c +++ b/pam_usb/src/pusb_check.c @@ -45,13 +45,13 @@ static int pusb_check_perform_authentication(t_pusb_options *opts, { int retval; - log_info("Authentication request for user \"%s\" (%s)\n", - user, service); if (!opts->enable) { log_debug("Not enabled, exiting...\n"); return (0); } + log_info("Authentication request for user \"%s\" (%s)\n", + user, service); if (!pusb_local_login(opts, user)) { log_error("Access denied.\n");