mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 01:32:06 +10:00
chore: refactor
This commit is contained in:
@ -134,7 +134,7 @@ export const SignInForm = ({ className, isGoogleSSOEnabled }: SignInFormProps) =
|
||||
if (result.error === ErrorCode.UNVERIFIED_EMAIL) {
|
||||
const encryptedEmail = await encryptSecondaryData({ data: email });
|
||||
|
||||
router.push(`/unverified-account?t=${encryptedEmail}`);
|
||||
router.push(`/unverified-account?token=${encryptedEmail}`);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@ -70,7 +70,7 @@ export const SignUpForm = ({ className, isGoogleSSOEnabled }: SignUpFormProps) =
|
||||
|
||||
const encryptedEmail = await encryptSecondaryData({ data: email });
|
||||
|
||||
router.push(`/unverified-account?t=${encryptedEmail}`);
|
||||
router.push(`/unverified-account?token=${encryptedEmail}`);
|
||||
|
||||
toast({
|
||||
title: 'Registration Successful',
|
||||
|
||||
Reference in New Issue
Block a user