create login and register functionable
This commit is contained in:
parent
eb55b258d9
commit
004c9a697c
2 changed files with 32 additions and 3 deletions
|
@ -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
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue