add mail_verified true for registration

This commit is contained in:
smanylov
2026-02-19 10:47:03 +07:00
parent 67bf12c11f
commit 498424cf27
+1
View File
@@ -234,6 +234,7 @@ export async function registration(
phone: phone, phone: phone,
password, password,
accountType, accountType,
mail_verified: true,
...(accountType === 'b2b' && { companyName: companyName, inn: inn }), ...(accountType === 'b2b' && { companyName: companyName, inn: inn }),
...(referralCode !== '' && { referralLink: referralCode }) ...(referralCode !== '' && { referralLink: referralCode })
} }