Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Does anyone applied Captcha on Backend login page till now for security reasons?
Is anyone did this before?
Hi Sumeet
Why do you need this reCaptcha?
Umbraco user can be locked after few login attempts, captcha needed for a spam protection?
/Alex
Yeah exactly, do you have any reference for this,after how many attempts? I saw similar option there on wordpress login page as well.
Its for basically robot check.
Yes if you entered your credentials wrong 5 times, you will be looked out. You can set maxInvalidPasswordAttempts to a different value for the UsersMembershipProvider in your web.config file. For example maxInvalidPasswordAttempts="15".
Thanks,
Alex
Did you find a way to do it?
i see this is an old post, but i did it. if it still relevant , post it hear and i will post the code.
Hi Liran ,can you share with me
Hi Liran,
Could you share the code here? This is exactly what I looking for!
Thanks, Queenie
hi, this is for reCaptcha V2, the login file is in: \umbraco\Views\common\dialogs\Login.html.
i put this line in the top
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
this line in row 38
<div class="g-recaptcha" data-sitekey="SiteKey" id="captcha"></div>
also in line 171:
in the file: \umbraco\Js\umbraco.controllers.js line 1175 is the check i added my localhost because it's annoying:
if (document.location.origin == 'http://localhost:62451') { } else { alert('else'); var v = grecaptcha.getResponse(); if (v.length == 0) { document.getElementById('captcha').innerHTML = "Captcha Code empty Or Incorrect, please refresh the page"; return false; } else { document.getElementById('captcha').innerHTML = "Captcha completed"; } }
hope it helps :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Apply Captcha on Backend login page
Does anyone applied Captcha on Backend login page till now for security reasons?
Is anyone did this before?
Hi Sumeet
Why do you need this reCaptcha?
Umbraco user can be locked after few login attempts, captcha needed for a spam protection?
/Alex
Yeah exactly, do you have any reference for this,after how many attempts? I saw similar option there on wordpress login page as well.
Its for basically robot check.
Hi Sumeet
Yes if you entered your credentials wrong 5 times, you will be looked out. You can set maxInvalidPasswordAttempts to a different value for the UsersMembershipProvider in your web.config file. For example maxInvalidPasswordAttempts="15".
Thanks,
Alex
Hi Sumeet
Did you find a way to do it?
Alex
i see this is an old post, but i did it. if it still relevant , post it hear and i will post the code.
Hi Liran ,can you share with me
Hi Liran,
Could you share the code here? This is exactly what I looking for!
Thanks, Queenie
hi, this is for reCaptcha V2, the login file is in: \umbraco\Views\common\dialogs\Login.html.
i put this line in the top
this line in row 38
also in line 171:
in the file: \umbraco\Js\umbraco.controllers.js line 1175 is the check i added my localhost because it's annoying:
hope it helps :)
is working on a reply...