From 34092041e60d22a7c9cac6fabd3b2afefa80d579 Mon Sep 17 00:00:00 2001 From: axolotle Date: Tue, 25 Jul 2023 22:24:31 +0200 Subject: [PATCH] readd base layout onto Login --- pages/login.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pages/login.vue b/pages/login.vue index 8e4998a..f51b6a5 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -5,9 +5,12 @@ definePageMeta({ layout: false, }) -const isLoggedIn = useIsLoggedIn() - +const head = useLocaleHead({ + addDirAttribute: true, + addSeoAttributes: true, +}) const { t } = useI18n() +const isLoggedIn = useIsLoggedIn() async function login(form) { const { error } = await useApi('/login', { @@ -31,6 +34,7 @@ const schema = {