UNPKG

payload-totp-temp

Version:

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

30 lines (29 loc) 764 B
import type { NestedKeysStripped } from '@payloadcms/translations'; type I18n = { totpPlugin: { authApp: string; configured: string; errors: { alreadySet: string; }; fieldDescription: string; forceTotp: { description: string; label: string; }; setup: { addCodeManually: string; button: string; description: string; enterCode: string; incorrectCode: string; title: string; }; verify: { title: string; }; }; }; export type CustomTranslationsObject = I18n; export type CustomTranslationsKeys = NestedKeysStripped<CustomTranslationsObject>; export {};