fossasia / susi_server

SUSI.AI server backend - the Artificial Intelligence server for personal assistants https://susi.ai
GNU Lesser General Public License v2.1
2.51k stars 1.08k forks source link

Add server side validation for SignUp user #1334 #1335

Closed fragm3 closed 5 years ago

fragm3 commented 5 years ago

Fixes #1334

Changes:

  1. Added ReCaptcha validation for signUp user
  2. Changed condition for login recaptcha validation to one or more than one attempts
fragm3 commented 5 years ago

@akshatnitd please review

For http://127.0.0.1:4000/aaa/signup.json?signup=shubh1234m1@gmail.com&password=shubham2@122, getting:

HTTP ERROR 422

Problem accessing /aaa/signup.json. Reason:

    Please verify recaptcha
Powered by Jetty:// 9.3.z-SNAPSHOT