From 1f7c4fd1631e2ec0fd908f87c22a9ade8aa4f439 Mon Sep 17 00:00:00 2001
From: Vidhu Kant Sharma <vidhukant@vidhukant.com>
Date: Thu, 5 Oct 2023 10:12:16 +0530
Subject: added registration for users

---
 src/views/LogIn.vue | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/views/LogIn.vue')

diff --git a/src/views/LogIn.vue b/src/views/LogIn.vue
index dc1f983..1b5f6c9 100644
--- a/src/views/LogIn.vue
+++ b/src/views/LogIn.vue
@@ -10,8 +10,10 @@ const toast = useToast({
 
 const router = useRouter()
 
+const storedEmail = sessionStorage.getItem('email')
+
 const isLoading = ref(false)
-const email = ref('')
+const email = ref(storedEmail ? storedEmail : '')
 const password = ref('')
 
 const login = async (e) => {
-- 
cgit v1.2.3

