[Catalyst-commits] r7064 - in trunk/Catalyst-Plugin-Authentication: . lib/Catalyst/Plugin/Authentication/Credential

bricas at dev.catalyst.perl.org bricas at dev.catalyst.perl.org
Fri Oct 26 02:31:49 GMT 2007


Author: bricas
Date: 2007-10-26 02:31:49 +0100 (Fri, 26 Oct 2007)
New Revision: 7064

Modified:
   trunk/Catalyst-Plugin-Authentication/Makefile.PL
   trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Credential/Password.pm
Log:
add test::more prereq. add missing "if $c->debug"

Modified: trunk/Catalyst-Plugin-Authentication/Makefile.PL
===================================================================
--- trunk/Catalyst-Plugin-Authentication/Makefile.PL	2007-10-25 22:51:20 UTC (rev 7063)
+++ trunk/Catalyst-Plugin-Authentication/Makefile.PL	2007-10-26 01:31:49 UTC (rev 7064)
@@ -13,5 +13,7 @@
 requires 'Class::Inspector';
 requires 'Catalyst::Plugin::Session' => '0.10';
 
+test_requires 'Test::More';
+
 auto_install;
 WriteAll;

Modified: trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Credential/Password.pm
===================================================================
--- trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Credential/Password.pm	2007-10-25 22:51:20 UTC (rev 7063)
+++ trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Credential/Password.pm	2007-10-26 01:31:49 UTC (rev 7064)
@@ -47,7 +47,7 @@
             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;
     }
 }




More information about the Catalyst-commits mailing list