Closed princekhunt closed 1 week ago
We can use google recaptacha or a basic django-simpel-captcha. If you prefer to use google recaptcha, I would need the keys from the recaptcha website. Else we can directly use simple django captcha like the image below
Can't we use hCaptcha ?
Ya sure that would work too. If you can assign it, I will be able to see the best possible way and start working on it.
Alright. Go on.
@princekhunt Hello. I have the prototype ready. Just a few tweaks are remaining. Please review the attached image and confirm whether anything more is needed.
Also, it would be better if you could provide me with the keys needed for hCaptcha as it would keep things under your control. If you can't share them here, you can share them on LinkedIn or mail me.
Regards.
That is not how it works.
define required keys in PrivatePing/settings/.env
, and then define both in development.py
, and then import keys, to views.py.
For the production, I'll update keys from my end.
Checkout how environment variables works on the internet if needed.
Yeah already done that. I was just asking if I should replace my keys or you would. Thank you. Just replace the keys before deploying to production.
Regards
Yes, will update in prod, kindly make pr. will test the functionality and design before heading.
Is your feature request related to a problem? Please describe. A user can create an anonymous account, by just one click. To prevent bots doing that, I propose to add captcha. User has to pass through human verification.
Describe the solution you'd like Privateping is privacy oriented application, hence it's decided to use hcaptcha service. When user clicks on
Anonymous Direct Login
Button, currently we move them to/AnonymousDirectLogin
and perform mouse hover check. Now we will replace it with the captcha. and on successful captcha verification, user should be able to create an anonymous account.