Version 8 (modified by Alejandro J. Cura, 10 years ago) (diff)

the recaptcha client module for python must be installed

Recaptcha Register Plugin


This hack adds a reCAPTCHA that the user must pass before registering. You must have the AccountManagerPlugin installed.

Bugs/Feature Requests

Existing bugs and feature requests for RecaptchaRegisterPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:recaptcharegisterplugin here].


You can check out RecaptchaRegisterPlugin from here using Subversion, or browse the source with Trac.


Install the Account Manager plugin

Please see AccountManagerPlugin page. Make sure you have disabled the RegistrationModule, since you'll be using this registration instead.

Install the recaptcha python module

easy_install recaptcha_client

Install this plugin



You need to make an account at to receive your public and private keys.

Edit your conf/trac.ini file and add these lines, including your public and private reCAPTCHA keys:

recaptcharegister.* = enabled

public_key = 
private_key =

That should be it! Email me if you have problems.


This plugin is being developed for USLA tracs, a service by and for the Free Software Users of Argentina.

It is loosely based on the work of TracRecaptchaPlugin, so it's GPL licensed as well.

Recent Changes

9846 by rjollos on 2011-02-10 19:18:57
Adding 0.10 branch to repository. Fixes #5726.
5064 by s0undt3ch on 2008-12-26 19:04:02
req.args.args -> req.args.get
4944 by s0undt3ch on 2008-12-03 17:29:58
New version of the RecaptchaRegisterPlugin.
It no longer requires one to disable the AccountManagerPlugin registration module.
It no longer provides it's own template, it's not necessary.
It's now also fully configurable on the admin panel under the AccountManagerPlugin configuration options.
New options introduced:

  • lang so that an admin can configure the language for the reCAPTCHA form(this introduces the option for the auto language selection based on user preferences for trac 0.12).

Also, if a Trac admin has not yet configured the reCAPTCHA keys, a link to the correct reCAPTCHA page to generate a new "key pair" will be shown which will also include the current domain plus a name of this plug so that reCPATCHA can track usage statistics of the several plugins there are.



Author: alecu