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"]({