mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-10-01 13:06:49 -05:00
feat: add safe redirects from login pages
This commit is contained in:
@@ -3,7 +3,7 @@ import { Popover } from 'reka-ui/namespaced';
|
||||
const { locales, setLocale } = useI18n();
|
||||
|
||||
const me = useMeStore();
|
||||
const authStore = useAuthStore();
|
||||
const authUtils = useAuthUtils();
|
||||
const user = computed(() => me.user);
|
||||
|
||||
const openDropdown = ref<boolean | string>(false);
|
||||
@@ -522,7 +522,7 @@ onMounted(() => {
|
||||
</a>
|
||||
<button
|
||||
class="button logout"
|
||||
@click="authStore.logout()"
|
||||
@click="authUtils.logout()"
|
||||
>
|
||||
{{ $t("nav.accountWidget.logout") }}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user