Compare commits
No commits in common. "fe34ff470542bcdc88ba487622ec4afb16fcd8ad" and "de7774047fe448879f39147b22e7c80ffb7f6d31" have entirely different histories.
fe34ff4705
...
de7774047f
@ -6,6 +6,7 @@ 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})
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user