[Cubicweb] captcha

Florent Cayré florent.cayre at logilab.fr
Wed Sep 25 18:08:18 CEST 2013


Le 25/09/2013 13:59, Dimitri Papadopoulos Orfanos a écrit :
> Hi,
>
> I have added cubicweb-registration to <application>/__pkginfo__.py as 
> an additional dependency:
>
>   __depends__ =  {'cubicweb': '>= 3.16.1',
>                   'cubicweb-brainomics': None,
>                   'cubicweb-registration': None,
>
> This adds an additional configuration option:
>
>   [REGISTRATION]
>
>   # seed used to cypher registration data in confirmation email link
>   registration-cypher-seed=this is my dummy registration cypher seed
>
>
> When running the application, I cannot find a registration link 
> anywhere - typically next to "login". What am I missing?
>
> Le 25/09/2013 09:34, Florent Cayré a écrit :
>> Le 25/09/2013 09:07, Dimitri Papadopoulos Orfanos a écrit :
>>> Hello,
>>>
>>> There is a captcha feature based on PIL in CubicWeb. How to use it to
>>> enable users to self-register?
>>>
>> Hello Dimitri,
>>
>> you probably want to use the cubicweb-registration cube
>> (http://www.cubicweb.org/project/cubicweb-registration).
>>
>> Regards,
>
Hello Dimitri,

if you just created a *new* application, adding cubicweb-registration to 
__depends__ in __pkginfo__.py should suffice.

If you modified an existing application, you also need to run 
'add_cube("registration")' in a migration script.

If you need to debug this, the upper right "registration" link should be 
added by the "RegisterLink" class at the end of 
cubes/registration/views.py file.

Regards,

-- 

Florent Cayré

LOGILAB S.A.                      104, bd Auguste Blanqui 75013 PARIS
                                   tél +33 (0)1.45.32.03.12
                                   tél +33 (0)1.83.64.25.26
Formations Python, Debian, XP     http://www.logilab.fr/formations
Développement logiciel sur mesure http://www.logilab.fr/services
Python et calcul scientifique     http://www.logilab.fr/science
Gestion des connaissances         http://www.logilab.fr/gestion-connaissances
CubicWeb, semantic web framework  http://www.cubicweb.org




More information about the Cubicweb mailing list