Fix the login auth
This commit is contained in:
parent
efa42a53b2
commit
e40ed22746
3 changed files with 17 additions and 3 deletions
|
|
@ -20,6 +20,10 @@ export async function getUser(id: number) {
|
|||
}
|
||||
|
||||
export async function loginUser(user: FormData) {
|
||||
console.log(`Recieved login user request for form: `);
|
||||
for (const value of user.values()) {
|
||||
console.log(value);
|
||||
}
|
||||
const body = {
|
||||
username: user.get("username"),
|
||||
password: user.get("password"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue