New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

How to add captcha on CWP logins?

Started by yush91, July 27, 2019, 01:18:49 AM

Previous topic - Next topic

yush91

Hello Guys,

I was looking for a way to add google recaptcha or any kind of captcha on my CWP root (port 2031) and user login (port 2083).

So far I've managed to add Google Recapctha on the phpMyAdmin login but if you know how to add it on the hosting panel login would be really helpful.

Thanks.

deimon777

Hi

To user login,
change file:
     /usr/local/cwpsrv/var/services/users/cwp_theme/design/login.html

add
        <script src="https://www.google.com/recaptcha/api.js"></script>

and on the button
        <button type="submit"  id="btnsubmit"  class="btn btn-primary block full-width m-b g-recaptcha" data-sitekey="Site key"  onclick="return valite()">

josemnunez

You can also use two-pass authentication that is already integrated with CWPUser