Problem apparently gone away, but not without concern.
I finally upgraded to Catalyst 5.7001. Again, it works through myapp_server.pl,
but now starting apache gives me a short list of 'redefined subroutine'
messages and dies on faulure to load MyApp::Model::Main::Test. (I suppose I
could have b
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($
From: "Nathan Kurz" <[EMAIL PROTECTED]>
> The problem I'm having is forcing a login
> for a newly created user that has neither an email address (my
> user_field) nor a password.
Hmm, I can't get it to work, either. Reading the code has only confused me.
Credential/Password.pm has:
$c->set_
On Thu, Jul 27, 2006 at 12:18:04PM -0700, Rodney Broom wrote:
> 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) do
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 = creat
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'
On 7/27/06, Jonathan Rockway <[EMAIL PROTECTED]> wrote:
> I checked the manpage, and it says $c->request->user is deprecated and
> that $c->user should be used instead. There's no mention of $c->user
> existing elsewhere in the docs, though, so I'm not sure about that. I
> will test and get back
From: "Kevin Old" <[EMAIL PROTECTED]>
> I've had this same error message several times before. Usually I need
> to upgrade one or all of the modules related to this.
Eee, I never like upgrading as a trouble shooting measure. I don't mind if I
know there's a solution in the upgrade. Also, Authen
If you use CPANPLUS, you can enter the CPANPLUS shell (by typing cpanp
at the command line), and then type "o" to get a list of all modules
that need to be upgraded. Then you can install them with "i 1..42" (if
you want to install modules 1, 2, 3, ..., 42; they're all assigned
numbers in the ou
=pod
I use pubcookie for authentication, which is similar. In catalyst, I
have an C function in my Root controller that basically just does:
my $user = $c->request->user;
if(!$user){
# something bad happened with Pubcookie
$c->detach('/error/not_logged_in');
}
$c->
* Nathan Kurz <[EMAIL PROTECTED]> [2006-07-27 06:15]:
> Long ago, I asked about easy ways to upgrade Catalyst.
> Aristotle answered me, and I've only just figured out an easier
> way to do it. Or perhaps this is what he meant, and I was just
> slow to realize it.
>
> In any case, to upgrade all pa
11 matches
Mail list logo