mirror of
https://github.com/hay-kot/homebox.git
synced 2025-07-26 20:40:26 +00:00
implement UI for url and join
This commit is contained in:
parent
505099ee26
commit
76c6d25850
4 changed files with 141 additions and 34 deletions
|
@ -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 = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue