From 0ed4f9545cf5ab47726722faddeecd59a5d5d354 Mon Sep 17 00:00:00 2001 From: Veljko Tosic Date: Tue, 10 Mar 2026 22:53:15 +0100 Subject: [PATCH] Successful signup also calls login right after --- front/src/views/SignupView.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/front/src/views/SignupView.vue b/front/src/views/SignupView.vue index 51f15c1..c74f23e 100644 --- a/front/src/views/SignupView.vue +++ b/front/src/views/SignupView.vue @@ -17,6 +17,7 @@ async function onSubmit() { loading.value = true try { await auth.signup({ username: username.value, email: email.value, password: password.value }) + await auth.login({ email: email.value, password: password.value}) router.push('/') } catch (e: any) { error.value = e.messages || ['Signup failed']