[Catalyst] Require User Logins in Manual::Cookbook
Geoffrey Ferrari
geoffrey.ferrari at oriel.oxford.ac.uk
Mon Jan 23 03:12:50 CET 2006
I've tried following the 'require user logins' section of the
Catalyst::Manual::Cookbook but I have a feeling it is out of date and
broken. In particular,the call to '$c->session_login(..., ...)"
causes an error. I suspect it might not have been updated for the
most recent version of the authentication framework.
Since there is no other documentation around on how to achieve the
same functionality, I'm sending out a general plea for someone who
knows how to achieve it to update the cookbook documentation, and/or
post some instructions to this list.
I've tried to make it work myself but although I can get a user
logged in and redirected, I don't seem to be able to carry the login
over multiple sessions. So when I submit the login form, and the log
tells me that the user has successfully been authenticated, all that
happens in practice is that I get the login form returned to me
again. (I've been redirected, during the request for the page it's
been noticed that I'm not logged in, and so I'm redirected to the
login form again.)
Thanks in advance
GHF
More information about the Catalyst
mailing list