This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS-WebPanel GUI / Re: How to add captcha on CWP logins?
« on: April 02, 2021, 03:24:23 AM »
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()">
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()">
Pages: [1]