[Catalyst-commits] r10667 - Catalyst-Authentication-Credential-HTTP/1.000/trunk/lib/Catalyst/Authentication/Credential

jshirley at dev.catalyst.perl.org jshirley at dev.catalyst.perl.org
Fri Jun 26 14:56:46 GMT 2009


Author: jshirley
Date: 2009-06-26 14:56:46 +0000 (Fri, 26 Jun 2009)
New Revision: 10667

Modified:
   Catalyst-Authentication-Credential-HTTP/1.000/trunk/lib/Catalyst/Authentication/Credential/HTTP.pm
Log:
Fixing warning if app isn't running in debug

Modified: Catalyst-Authentication-Credential-HTTP/1.000/trunk/lib/Catalyst/Authentication/Credential/HTTP.pm
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/lib/Catalyst/Authentication/Credential/HTTP.pm	2009-06-25 13:17:53 UTC (rev 10666)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/lib/Catalyst/Authentication/Credential/HTTP.pm	2009-06-26 14:56:46 UTC (rev 10667)
@@ -27,7 +27,7 @@
     
     $config->{username_field} ||= 'username';
     # _config is shity back-compat with our base class.
-    my $self = { %$config, _config => $config, _debug => $app->debug };
+    my $self = { %$config, _config => $config, _debug => $app->debug ? 1 : 0 };
     bless $self, $class;
     
     $self->realm($realm);




More information about the Catalyst-commits mailing list