authdeny: added standard log prefix

This commit is contained in:
Matt Simerson 2012-05-07 03:35:57 -04:00 committed by Robert
parent a1c8462557
commit 9059529325

View File

@ -16,9 +16,7 @@ sub hook_auth {
my ( $self, $transaction, $method, $user, $passClear, $passHash, $ticket ) =
@_;
# $DB::single = 1;
$self->log( LOGWARN, "Cannot authenticate using authdeny" );
$self->log( LOGWARN, "fail: cannot authenticate" );
return ( DECLINED, "$user is not free to abuse my relay" );
}