UNPKG

payload-totp-temp

Version:

Add an extra security layer to PayloadCMS using a Time-based One-time Password (TOTP).

7 lines (6 loc) 226 B
import { cookies } from 'next/headers.js'; export async function removeCookie(cookiePrefix) { const cookieStore = await cookies(); cookieStore.delete(`${cookiePrefix}-totp`); } //# sourceMappingURL=removeCookie.js.map