1 package TestApp::Controller::Root;
5 __PACKAGE__->config(namespace => q{});
7 use base 'Catalyst::Controller';
9 # your actions replace this one
10 sub default : Private {
13 if ($c->authenticate({ username => 'mufasa', password => 'Circle of Life'})) {
14 $body .= "Authenticated:";
15 $body .= $c->user->id;