login with captcha
This commit is contained in:
parent
865579f8d2
commit
b79aeace36
|
@ -50,8 +50,10 @@
|
|||
</body>
|
||||
</html>
|
||||
<script>
|
||||
$(function(){
|
||||
$('#id_captcha_1').addClass('form-control');
|
||||
})
|
||||
$('.captcha').click(function () {
|
||||
|
||||
$.getJSON("/groups/refresh_captcha/", function (result) {
|
||||
$('.captcha').attr('src', result['image_url']);
|
||||
$('#id_captcha_0').val(result['key'])
|
||||
|
|
Loading…
Reference in New Issue