Fixes in admin login for more secure login
This commit is contained in:
parent
a2bd05536f
commit
de51f0356f
3 changed files with 31 additions and 9 deletions
|
|
@ -50,7 +50,7 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
$('#code_submit').prop('disabled', true);
|
||||
$('#code_submit').prop('disabled', false);
|
||||
|
||||
// Firefox have a horrible and stupid bug and you need attr for set de new csrf_token
|
||||
|
||||
|
|
@ -68,6 +68,12 @@
|
|||
|
||||
}
|
||||
|
||||
if(data.you_cannot_login) {
|
||||
|
||||
$('#code_error').html("${lang('common', 'error_tries_disabled', 'Error, excessive tries, wait some minutes for login again')}");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue