[Catalyst] forcing authentication without credentials

Nathan Kurz nate at verse.com
Thu Jul 27 20:57:52 CEST 2006


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.

Thanks!

Nathan Kurz
nate at verse.com



More information about the Catalyst mailing list