projects
/
catagits/Catalyst-Plugin-Authentication.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
078c228
)
add test::more prereq. add missing "if $c->debug"
Brian Cassidy [Fri, 26 Oct 2007 01:31:49 +0000 (
01:31
+0000)]
Makefile.PL
patch
|
blob
|
blame
|
history
lib/Catalyst/Plugin/Authentication/Credential/Password.pm
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.PL
b/Makefile.PL
index
fc4e6e2
..
3e88c0c
100644
(file)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-13,5
+13,7
@@
requires 'Catalyst::Runtime';
requires 'Class::Inspector';
requires 'Catalyst::Plugin::Session' => '0.10';
+test_requires 'Test::More';
+
auto_install;
WriteAll;
diff --git
a/lib/Catalyst/Plugin/Authentication/Credential/Password.pm
b/lib/Catalyst/Plugin/Authentication/Credential/Password.pm
index
960d9ff
..
570af27
100644
(file)
--- a/
lib/Catalyst/Plugin/Authentication/Credential/Password.pm
+++ b/
lib/Catalyst/Plugin/Authentication/Credential/Password.pm
@@
-47,7
+47,7
@@
sub authenticate {
return $user_obj;
}
} else {
- $c->log->debug("Unable to locate user matching user info provided");
+ $c->log->debug("Unable to locate user matching user info provided") if $c->debug;
return;
}
}