1
0
forked from PGL/Clyde
Clyde/frontend/src/rest/Users.js

6 lines
171 B
JavaScript
Raw Normal View History

2024-03-05 13:18:57 +01:00
import { restGet, restPost } from './restConsumer.js'
export async function login(user, pass, exp){
restPost("/login", {login: user, password: pass, expiration: exp})
}