[Catalyst] Catalyst Roles With ACL

Tomas Doran bobtfish at bobtfish.net
Tue Aug 14 18:12:23 GMT 2012


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() call.
> 
> Any idea on how I can load the roles?


You didn't show us the ->authenticate() call in your code that the error message tells you is the problem.

Before doing anything else, I'd like to see that call, to check it isn't the source of the problem ;_)

Cheers
t0m




More information about the Catalyst mailing list