aboutsummaryrefslogtreecommitdiff
path: root/src/views/LogIn.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/LogIn.vue')
-rw-r--r--src/views/LogIn.vue4
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) => {