On Thu, Jul 27, 2006 at 12:57:52 -0600, Nathan Kurz wrote:
> I've working on something where I feel the need to mark a user as
> authenticated even though I don't have any credentials for them.
> 
> I'd like to say something like:
>   my $user = $c->model('DB::User')->create({...});
>   $c->login($user);
> 
> This doesn't work (for reasons that I understand), but I haven't been
> able to figure out the right way to do this.  I thought I'd be able to
> do it with $c->set_authenticated(), but I haven't had any success.

set_authenticated *should* work. Please paste more code and some
config, I'd like to debug this.

-- 
  Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org  0xEBD27418

Attachment: pgpAxf1wu60JE.pgp
Description: PGP signature

_______________________________________________
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/

Reply via email to