Commit changes that were in 1.002
[catagits/Catalyst-Authentication-Credential-HTTP.git] / t / live_app_digest.t
index 5b36837..79c46e1 100644 (file)
@@ -29,7 +29,7 @@ use HTTP::Request;
         $c->authenticate();
         $c->res->body( $c->user->id );
     }
-    %users = ( Mufasa => { password         => "Circle Of Life", }, );
+    %users = ( Mufasa => { pass         => "Circle Of Life", }, );
     __PACKAGE__->config->{cache}{backend} = {
         class => 'Cache::FileCache',
     };
@@ -44,6 +44,8 @@ use HTTP::Request;
                 credential => {
                     class => 'HTTP',
                     type  => 'digest',
+                    password_type => 'clear', 
+                    password_field => 'pass'
                 },
             },
         },