logout and info

This commit is contained in:
ntr committed 2022-08-30 23:02:34 +10:00
1 parent 4041d9827d
commit 7ea2c37116
9 files changed
+49 -34

No files matched your search

+4
View File
@@ -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,