use base 'Catalyst::Controller';
# your actions replace this one
-sub default : Private {
+sub default : Private {
my ($self, $c) = @_;
my $body = '';
if ($c->authenticate({ username => 'mufasa', password => 'Circle of Life'})) {
- $body .= "Authenticated:";
+ $body .= "Authenticated:";
$body .= $c->user->id;
}
$c->res->body($body);