UNPKG

payload-totp

Version:

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

6 lines (5 loc) 267 B
import type { Config } from 'payload'; import type { PayloadTOTPConfig } from './types.js'; import { totpAccess } from './totpAccess.js'; declare const payloadTotp: (pluginOptions: PayloadTOTPConfig) => (config: Config) => Config; export { payloadTotp, totpAccess };