Project

General

Profile

Revision 8260

Added by Jing Tao over 7 years ago

Use https to replace http. Otherwise, the recapatcha code can't show up in a https link.

View differences:

lib/style/common/templates/ldapRegister.tmpl
197 197
                	<div id="captchaArea">
198 198
                            <a onclick="showRecaptcha('captchaArea');">Show Code</a>
199 199
                    </div>
200
                    <script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
200
                    <script type="text/javascript" src="https://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
201 201
                    <script type="text/javascript">
202 202
	                    function showRecaptcha(element) {
203 203
	                            Recaptcha.create("[% recaptchaPublicKey %]", element, {

Also available in: Unified diff