corrected password call

This commit is contained in:
Ulf Gebhardt 2019-08-22 17:03:37 +02:00
parent 89517e6980
commit 7cd0434820
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -17,7 +17,7 @@ function register_login(){
preventSubmit: true,
submitError: function($form, event, errors) {},
submitSuccess: function($form, event){
$.get('./api.php?call=account&action=login&username=' + $('#bt_login_user').val()+'&password_sha='+$.sha1($('#bt_login_password').val())+'&password_md5='+$.md5($('#bt_login_password').val()), function (data) {
$.get('./api.php?call=account&action=login&username=' + $('#bt_login_user').val()+'&password_sha1='+$.sha1($('#bt_login_password').val())), function (data) {
if(data == 1){
window.location.reload();
} else {