FAQ
I'm using C::HTML::FormBuilder for a simple login form and would like to
use the standard $c->authenticate() for validation.

This means that I either have to pass ctx => $c to
$form->process(), more tightly coupling the controller to the form,
or do all of the $c->authenticate() stuff after $form->validated(),
making my controller fatter.

Is there another way of accomplishing this more elegantly, or is one of
these options acceptable?

Just curious is all.

--
Kiffin Gish <kiffin.gish@planet.nl>
Gouda, The Netherlands

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJan 14, '10 at 3:20p
activeJan 14, '10 at 3:20p
posts1
users1
websitecatalystframework.org
irc#catalyst

1 user in discussion

Kiffin Gish: 1 post

People

Translate

site design / logo © 2022 Grokbase