diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-10-05 10:12:16 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-10-05 10:12:16 +0530 |
commit | 1f7c4fd1631e2ec0fd908f87c22a9ade8aa4f439 (patch) | |
tree | 4c082b7402588da64a9134cc8fa6c0d73671d32f /src/views/LogIn.vue | |
parent | f1ada5b3292d45fed7eb808d8cc4d98573636e9b (diff) |
added registration for users
Diffstat (limited to 'src/views/LogIn.vue')
-rw-r--r-- | src/views/LogIn.vue | 4 |
1 files changed, 3 insertions, 1 deletions
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) => { |