Color Changes

Login Changes
Misc
This commit is contained in:
2023-12-10 15:06:16 +01:00
parent 5182959881
commit 6ffc4f01d9
10 changed files with 201 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
<script setup >
definePageMeta({
layout: "notLoggedIn"
})
@@ -6,6 +7,7 @@ definePageMeta({
const supabase = useSupabaseClient()
const user = useSupabaseUser()
const router = useRouter()
const {fetchData} = useDataStore()
const email = ref("")
const password = ref("")
@@ -21,7 +23,10 @@ const onSubmit = async () => {
alert(error.toString())
} else {
console.log("Login Successful")
await fetchData()
router.push("/")
}
}