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:
parent
01439663d9
commit
a6dc2adb78
|
@ -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"> </dt>
|
||||
<dd id="submit-element">
|
||||
<?php echo $this->element->getElement('submit') ?>
|
||||
|
|
|
@ -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();
|
||||
})
|
Loading…
Reference in New Issue