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