Re: [web2py] Book need update on recaptcha v2

2018-03-13 Thread Richard Vézina
Can you update the book and send a Pull Request through github?? Thank you Richard On Thu, Mar 8, 2018 at 7:28 PM, Alexander Scarlat MD wrote: > > As of 2018 March 31 Google doesn't support reCaptcha V1 anymore. > I thought the book should be updated with the following modification: > > instea

[web2py] Book need update on recaptcha v2

2018-03-08 Thread Alexander Scarlat MD
As of 2018 March 31 Google doesn't support reCaptcha V1 anymore. I thought the book should be updated with the following modification: instead of *Recaptcha* it should be *Recaptcha2* from gluon.tools import *Recaptcha2* auth.settings.captcha = *Recaptcha2*(request,'PUBLIC_KEY','SECRET_KEY') an