Rendre le dashboard actionnable (inbox, peek, carte mentale), aligner la facturation sur l’essai 7 jours, et bloquer le login e-mail tant que l’adresse n’est pas confirmée. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
324 B
TypeScript
12 lines
324 B
TypeScript
'use server'
|
|
|
|
import { verifyEmailToken, resendVerificationEmail } from '@/lib/auth/email-verification'
|
|
|
|
export async function confirmEmail(token: string) {
|
|
return verifyEmailToken(token)
|
|
}
|
|
|
|
export async function resendSignupVerification(email: string, locale?: string) {
|
|
return resendVerificationEmail(email, locale)
|
|
}
|