Revision 10477
Added by Jing Tao about 7 years ago
lib/style/common/templates/ldapRegister.tmpl | ||
---|---|---|
171 | 171 |
*Verification Code: |
172 | 172 |
</td> |
173 | 173 |
<td align="right"> |
174 |
<div id="captchaArea"> |
|
174 |
<script src="https://www.google.com/recaptcha/api.js" async defer></script> |
|
175 |
<div class="g-recaptcha" data-sitekey="[% recaptchaPublicKey %]"></div> |
|
176 |
<!-- <div id="captchaArea"> |
|
175 | 177 |
<a href="javascript:;" onclick="showRecaptcha('captchaArea');">Show Code</a> |
176 | 178 |
</div> |
177 | 179 |
<script type="text/javascript" src="https://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script> |
... | ... | |
183 | 185 |
return false; |
184 | 186 |
} |
185 | 187 |
showRecaptcha('captchaArea'); |
186 |
</script> |
|
188 |
</script>-->
|
|
187 | 189 |
</td> |
188 | 190 |
</tr> |
189 | 191 |
[% END %] |
Also available in: Unified diff
Use the recaptcha v2 code.