diff --git a/frontend/src/rest/Users.js b/frontend/src/rest/Users.js index 9ca59a1..e34d611 100644 --- a/frontend/src/rest/Users.js +++ b/frontend/src/rest/Users.js @@ -6,7 +6,6 @@ export async function login(user, pass, exp){ export async function register(user, pass, mail){ return restPost("/user", {name: user, password: pass, mail: mail}); - restPost("/login", {login: user, password: pass, expiration: exp}) } /**