Skip to content

Commit

Permalink
fix(page): Update register success redirect to verify email
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Naufal <me@falkia34.dev>
  • Loading branch information
falkia34 committed Jul 20, 2024
1 parent cb7bc79 commit b15c5ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export function RegisterForm({ callbackUrl }: Props) {
closeSnackbar(loadingKey);

if (callbackUrl) {
router.push(callbackUrl);
router.push(`/verify-email?callback_url=${callbackUrl}`);
} else {
router.push('/dashboard');
}
Expand Down

0 comments on commit b15c5ff

Please sign in to comment.