Change up js
This commit is contained in:
parent
f0327df728
commit
e3722e3ef7
@ -1,6 +1,10 @@
|
||||
function login() {
|
||||
function login(){
|
||||
const email = document.getElementById("email").value;
|
||||
const password = document.getElementById("password").value;
|
||||
doLogin(email, password);
|
||||
}
|
||||
|
||||
function doLogin(email, password) {
|
||||
|
||||
const data = new URLSearchParams();
|
||||
data.append("action", "login");
|
||||
|
Loading…
Reference in New Issue
Block a user