Change default username_field back to 'username', as this fits in better with the...
[catagits/Catalyst-Plugin-Authentication.git] / t / lib / RemoteTestApp1.pm
index ff66626..dbba67c 100644 (file)
@@ -28,7 +28,7 @@ __PACKAGE__->config(
 sub default : Local {
     my ( $self, $c ) = @_;
     if ($c->authenticate()) {
-        $c->res->body('User:' . $c->user->{id});
+        $c->res->body('User:' . $c->user->{username});
     }
     else {
         $c->res->body('FAIL');