Compare commits
2 Commits
de7774047f
...
fe34ff4705
Author | SHA1 | Date | |
---|---|---|---|
fe34ff4705 | |||
7ff47b6e9c |
@ -6,7 +6,6 @@ export async function login(user, pass, exp){
|
|||||||
|
|
||||||
export async function register(user, pass, mail){
|
export async function register(user, pass, mail){
|
||||||
return restPost("/user", {name: user, password: pass, mail: mail});
|
return restPost("/user", {name: user, password: pass, mail: mail});
|
||||||
restPost("/login", {login: user, password: pass, expiration: exp})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user