create login and register functionable

This commit is contained in:
NekoVari 2023-09-27 00:47:59 +07:00
parent eb55b258d9
commit 004c9a697c
2 changed files with 32 additions and 3 deletions

View file

@ -52,10 +52,13 @@
console.log('Authenticated: Checking with Backend');
fetch("http://localhost:5000/api/users/create", {
method: "POST",
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
username: username,
password: password,
email: "",
username: this.input.username,
password: this.input.password,
email: "asdf",
isGoogleAccount: false
})
})