diff --git a/plugins/auth/auth_checkpassword b/plugins/auth/auth_checkpassword index cb84758..a20fb71 100644 --- a/plugins/auth/auth_checkpassword +++ b/plugins/auth/auth_checkpassword @@ -136,11 +136,12 @@ sub auth_checkpassword { my $status = $?; if ($status != 0) { - $self->log(LOGNOTICE, "authentication failed ($status)"); + $self->log(LOGNOTICE, "fail, auth failed: $status"); return (DECLINED); } $self->connection->notes('authuser', $user); + $self->log(LOGINFO, "pass, auth success with $method"); return (OK, "auth_checkpassword"); }