CC-3874: after 3 unsuccessful attempts to login no RE-CAPTCHA is shown and

you can't even login as admin user

- fixed
This commit is contained in:
James 2012-05-23 17:14:59 -04:00
parent 01439663d9
commit a6dc2adb78
2 changed files with 2 additions and 5 deletions

View File

@ -25,7 +25,7 @@
<a href="<?php echo $this->baseUrl('login/password-restore'); ?>" class="link reset">Reset password</a>
</dd>
<?php endif; ?>
<?php echo $this->element->getElement('captcha') ?>
<dt id="submit-label">&nbsp;</dt>
<dd id="submit-element">
<?php echo $this->element->getElement('submit') ?>

View File

@ -1,6 +1,3 @@
$(window).load(function(){
$("#username").focus()
var captcha = $("#captcha-label").next()
captcha.css("padding-left", (((captcha.parents('div:eq(0)').width()-captcha.width())/2+"px")));
$("#username").focus();
})