feat(auth): add registration message for successful registration

This commit is contained in:
shafin-r
2026-03-12 13:51:20 +06:00
parent 8d86da05b5
commit 4c83fcf7b4
2 changed files with 22 additions and 3 deletions

View File

@ -758,7 +758,7 @@ export const Register = () => {
avatar_url: avatarUrl,
password,
});
if (success) navigate("/student/home", { replace: true });
if (success) navigate("/login", { replace: true });
};
return (