implement UI for url and join

This commit is contained in:
Hayden 2022-10-03 21:36:51 -08:00
parent 505099ee26
commit 76c6d25850
4 changed files with 141 additions and 34 deletions

View file

@ -24,11 +24,7 @@ export const useAuthStore = defineStore("auth", {
},
actions: {
async logout(api: UserClient) {
const result = await api.logout();
if (result.error) {
return result;
}
const result = await api.user.logout();
this.token = "";
this.expires = "";