[Catalyst] forcing authentication without credentials
Rodney Broom
rbroom+catalyst at rbroom.com
Thu Jul 27 21:18:04 CEST 2006
From: "Nathan Kurz" <nate at verse.com>
> 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
More information about the Catalyst
mailing list