fix expiration date and frontend requests
This commit is contained in:
@ -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){
|
||||
|
Reference in New Issue
Block a user