logout and info
This commit is contained in:
1 parent
4041d9827d
commit
7ea2c37116
9 files changed
+49
-34
No files matched your search
@@ -72,6 +72,10 @@ const actions = {
|
||||
});
|
||||
},
|
||||
|
||||
postLogout: async function postLogout() {
|
||||
return api.post('/auth/logout', {});
|
||||
},
|
||||
|
||||
postRegister: async function postRegister(email, password) {
|
||||
return api.post('/auth/register', {
|
||||
email,
|
||||
|
||||
Reference in new issue
Block a user