1 package RemoteTestApp1::Controller::Root;
4 use base qw/Catalyst::Controller/;
6 __PACKAGE__->config(namespace => '');
10 if ($c->authenticate()) {
11 $c->res->body('User:' . $c->user->{username});
14 $c->res->body('FAIL');
20 my ( $self, $c ) = @_;