From e28f6b69741ab5cf28c8fabda042dfc433e92b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Tue, 9 Jul 2024 20:23:03 -0400 Subject: [PATCH] refactor(pages): add title to login page --- pages/auth/login.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/auth/login.vue b/pages/auth/login.vue index 326079f..c2c60a5 100644 --- a/pages/auth/login.vue +++ b/pages/auth/login.vue @@ -12,6 +12,9 @@ }, middleware: ["auth"], }); + useHead({ + title: "Log In", + }); const formState = reactive({ username: "", @@ -26,7 +29,7 @@ const { data } = useAuth(); darkRef.value = data.value.user.profile.nightMode; if (darkRef.value) document.body.dataset.theme = "dark"; - await navigateTo(); + await navigateTo("/"); } catch (e: any) { if (e.data) { notification["error"]({