From 3ce4a051683656c8375c53b38a9e84ada0dd1713 Mon Sep 17 00:00:00 2001 From: Sosokker Date: Sat, 10 May 2025 01:25:06 +0700 Subject: [PATCH] redirect to login page after signup --- app/signup.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/signup.tsx b/app/signup.tsx index 50a8c25..4969eb2 100644 --- a/app/signup.tsx +++ b/app/signup.tsx @@ -39,6 +39,7 @@ export default function SignupScreen() { // Only pass email and password to signup, as per new auth-context await signup(email, password); // Optionally, save name to profile after signup here in the future + router.push("/login"); } catch (error) { Alert.alert("Error", "Failed to sign up. Please try again."); } finally {