" );}
$c->res->redirect( $c->uri_for('/') ); } else { # Show Login Form
$c->stash('error' => "Sorry your login failed.");
$c->res->redirect( $c->uri_for('/login'
On 14 Aug 2012, at 18:12, Blaine Everingham wrote:
>
> When I try and run my program I get
> Failed to load user data. You passed [ARRAY(0x39a8964)] to authenticate()
> but your user source (MyApp::User) only has these columns:
> [id,alias,name_first,name_last,email] Check your authenticate
Hi,
I am trying to get role based authorization going in my catalyst app. However,
I'm encountering difficultly on what should be an easy task.
My database basically has four tables for users
User - Main User data with foren keys to User Account(has many) and UserToRole
(has many)
UserAccount