bugfix
This commit is contained in:
@@ -6,7 +6,7 @@ export const useAuthStore = defineStore("auth", () => {
|
|||||||
const user = ref({});
|
const user = ref({});
|
||||||
checkToken();
|
checkToken();
|
||||||
|
|
||||||
const loggedIn = computed(() => !!user.username);
|
const loggedIn = computed(() => !!user.value.username);
|
||||||
|
|
||||||
async function logOut() {
|
async function logOut() {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user