From: "Nathan Kurz" <[EMAIL PROTECTED]>
> my $user = $c->model('DB::User')->create({...});
> $c->login($user);
>
> This doesn't work (for reasons that I understand)...
I'd be interested in why $c->login($user) doesn't work for you. That's what I'm
doing:
sub signup
{
# ... $user = create...
# Log in the newly created user
$c->login($user->login, $user->password);
}
---
Rodney Broom
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/