Skip Menu |

This queue is for tickets about the Mojolicious-Plugin-Recaptcha CPAN distribution.

Report information
The Basics
Id: 97160
Status: rejected
Priority: 0/
Queue: Mojolicious-Plugin-Recaptcha

People
Owner: Nobody in particular
Requestors: karjala [...] karjala.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Allow running this module with SPAs
I use Mojolicious with AngularJS. Which means I don't use Mojolicious templates, but Angular templates. Which means I have nowhere to type this: <%= recaptcha_html %>, as the template is presented to the user by JavaScript, not by Perl. So the form that contains the CAPTCHA challenge & response, is an AJAX form. This command cannot work, it will do nothing: $self->recaptcha; What I need for this command to work, is for this method to accept "challenge" and "response" parameters, like this: $self->recaptcha(challenge => $challenge, response => $response) Then your module will work with SPAs like AngularJS apps. Could you do this for me, please? Thanks,