Fixing the cross origine on the frontend side
Some checks failed
Build and test backend / Build-backend (pull_request) Successful in 1m59s
Build and test backend / Test-backend (pull_request) Successful in 1m59s
Build and test FrontEnd / Build-frontend (pull_request) Failing after 21s

This commit is contained in:
2024-03-09 10:29:32 +01:00
parent b88d820c12
commit 21de520175
2 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,7 @@
import { restGet, restPost } from './restConsumer.js'
export async function login(user, pass, exp){
return restPost("/login", {login: user, password: pass, expiration: exp});
return restPost("/login", {identifier: user, password: pass, expiration: exp});
}
export async function register(user, pass, mail){