summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Command/Auth.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-01-03 07:06:38 +0000
committerfukachan <fukachan>2003-01-03 07:06:38 +0000
commitc01c4bec19fa0b3ec0210a6c5e2307dd0baeee8a (patch)
tree90c38b6642e145e895aa523aba8ad45f5e656fa4 /fml/lib/FML/Command/Auth.pm
parent8471ec51ee1a10884d4078afb72c9d5003f8e79a (diff)
downloadfml8-c01c4bec19fa0b3ec0210a6c5e2307dd0baeee8a.tar.gz
fml8-c01c4bec19fa0b3ec0210a6c5e2307dd0baeee8a.tar.bz2
fml8-c01c4bec19fa0b3ec0210a6c5e2307dd0baeee8a.zip
modify log messages.
hide messages for debug mode.
Diffstat (limited to 'fml/lib/FML/Command/Auth.pm')
-rw-r--r--fml/lib/FML/Command/Auth.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/fml/lib/FML/Command/Auth.pm b/fml/lib/FML/Command/Auth.pm
index d63d866e..8532139b 100644
--- a/fml/lib/FML/Command/Auth.pm
+++ b/fml/lib/FML/Command/Auth.pm
@@ -1,15 +1,15 @@
#-*- perl -*-
#
-# Copyright (C) 2002 Ken'ichi Fukamachi
+# Copyright (C) 2002,2003 Ken'ichi Fukamachi
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Auth.pm,v 1.17 2002/12/23 14:38:16 fukachan Exp $
+# $FML: Auth.pm,v 1.18 2002/12/24 10:19:43 fukachan Exp $
#
package FML::Command::Auth;
use strict;
-use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
+use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD $debug);
use Carp;
use FML::Log qw(Log LogWarn LogError);
@@ -173,7 +173,7 @@ sub check_admin_member_password
if ($cred->is_same_address($u, $address)) {
# 1.2 password match ?
if ($p_infile eq $p_input) {
- Log("check_password: password match");
+ Log("check_admin_member_password: password match") if $debug;
return 1;
}
}
@@ -181,7 +181,7 @@ sub check_admin_member_password
}
}
- LogWarn("check_password: password not match");
+ LogWarn("check_admin_member_password: password not match");
return 0;
}
@@ -196,7 +196,7 @@ Ken'ichi Fukamachi
=head1 COPYRIGHT
-Copyright (C) 2002 Ken'ichi Fukamachi
+Copyright (C) 2002,2003 Ken'ichi Fukamachi
All rights reserved. This program is free software; you can
redistribute it and/or modify it under the same terms as Perl itself.