Fixes in double auth in admin

This commit is contained in:
absurdo 2023-07-21 10:50:40 +02:00
parent 6ffb57b135
commit d31fe1e9a4
2 changed files with 84 additions and 0 deletions

View file

@ -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);