mirror of
https://github.com/Sosokker/chefhai.git
synced 2025-12-19 05:54:08 +01:00
redirect to login page after signup
This commit is contained in:
parent
0a554e69d1
commit
3ce4a05168
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user