Subject: | HFH::TraitFor::Captcha not functional wich current Catalyst versions |
HFH::TraitFor::Captcha and HFH::Field::Captcha do not work with current
versions of Catalyst.
The reason seems to be that get_captcha and set_captcha use
$form->ctx->{session} directly, instead of using the accessor
$from->ctx->session.
I am not sure if this works with older versions of Catalyst, but it is
definitely broken when using Catalyst 5.90007
I have attached a simple test.
The patch makes get_captcha and set_captcha using the session-accessor
IF $form->ctx has one. (if it is a catalyst context). Otherwise, the old
behaviour will not change. The module should still work with
non-catalyst applications.
Subject: | hfh-captcha.tar.bz2 |
Message body not shown because it is not plain text.