|
@@ -15,9 +15,6 @@ $("#btn_login").click(function () {
|
|
window.location.replace("/index")
|
|
window.location.replace("/index")
|
|
}
|
|
}
|
|
};
|
|
};
|
|
- var data = "grant_type=&username=" + $('#username').val() + "&password=qwe&scope=&client_id=&client_secret=";
|
|
|
|
|
|
+ var data = "grant_type=&username=" + $('#username').val() + "&password="+$('#password').val()+"&scope=&client_id=&client_secret=";
|
|
xhr.send(data);
|
|
xhr.send(data);
|
|
});
|
|
});
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|