prepend auth_flat plugin name to $note

Makes it much easier to figure out where that log entry came from.
This commit is contained in:
Matt Simerson 2012-04-22 17:02:45 -04:00 committed by Robert
parent 651ca986ff
commit 38c74352d1

View File

@ -19,7 +19,7 @@ sub test_auth_flat_file {
for $u ( @u_list ) {
( $a,$r,$p ) = @{$u_data{$u}};
($ret, $note) = $self->auth_flat_file($tran,'CRAMMD5',$a,$p);
defined $note or $note='No-Message';
defined $note or $note='authflat: No-Message';
is ($ret, $r, $note);
# - for debugging.
# warn "$note\n";