auth_chkpw: added pass|fail prefix to log msgs
This commit is contained in:
parent
b7ce45a502
commit
7d88c51e0a
@ -136,11 +136,12 @@ sub auth_checkpassword {
|
|||||||
my $status = $?;
|
my $status = $?;
|
||||||
|
|
||||||
if ($status != 0) {
|
if ($status != 0) {
|
||||||
$self->log(LOGNOTICE, "authentication failed ($status)");
|
$self->log(LOGNOTICE, "fail, auth failed: $status");
|
||||||
return (DECLINED);
|
return (DECLINED);
|
||||||
}
|
}
|
||||||
|
|
||||||
$self->connection->notes('authuser', $user);
|
$self->connection->notes('authuser', $user);
|
||||||
|
$self->log(LOGINFO, "pass, auth success with $method");
|
||||||
return (OK, "auth_checkpassword");
|
return (OK, "auth_checkpassword");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user