Fixes in double auth in admin
This commit is contained in:
parent
6ffb57b135
commit
d31fe1e9a4
2 changed files with 84 additions and 0 deletions
|
|
@ -19,6 +19,8 @@
|
|||
|
||||
$('#loading').show();
|
||||
|
||||
$('#login_submit').prop('disabled', true);
|
||||
|
||||
data_form={'username': $('#username_form').val(), 'password': $('#password_form').val(), 'csrf_token': $("#csrf_token").val()};
|
||||
|
||||
if($('#remember_login:checked').val())
|
||||
|
|
@ -43,6 +45,8 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
|
||||
$('#login_submit').prop('disabled', false);
|
||||
|
||||
//$('#csrf_token').val(data.csrf_token);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue