1
0
forked from PGL/Clyde

fix expiration date and frontend requests

This commit is contained in:
2024-03-09 16:22:38 +01:00
parent 847b1ca419
commit ac88307036
2 changed files with 4 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", {identifier: user, password: pass, expiration: exp});
return restPost("/login", {identifier: user, password: pass, expirationDate: exp});
}
export async function register(user, pass, mail){