Flask-security: Captcha on register form

Created on 20 Jul 2015  路  2Comments  路  Source: mattupstate/flask-security

Can we have a built in captcha on register form

SECURITY_REGISTER_CAPTCHA = {'recaptcha_api_key': ...}

Or maybe in form of extension, is it possible to create extensions to FlaskSecurity?

There is this: https://github.com/mardix/flask-recaptcha

related to: https://github.com/quokkaproject/quokka/issues/112

feature

Most helpful comment

Thanks. I did it https://github.com/quokkaproject/quokka/blob/development/quokka/ext/security.py#L26

But I think it could be built in and optional in flask-security

All 2 comments

I think you can create a custom register form and add a recaptcha field through Flask-WTF dependency. Please take a look on this:

https://flask-wtf.readthedocs.org/en/latest/form.html#recaptcha

Thanks. I did it https://github.com/quokkaproject/quokka/blob/development/quokka/ext/security.py#L26

But I think it could be built in and optional in flask-security

Was this page helpful?
0 / 5 - 0 ratings

Related issues

slippers picture slippers  路  4Comments

tim-hub picture tim-hub  路  4Comments

asmodehn picture asmodehn  路  6Comments

ochronus picture ochronus  路  4Comments

LionelR picture LionelR  路  5Comments