payload-totp
Version:
Add an extra security layer to PayloadCMS using a Time-based One-time Password (TOTP).
13 lines (12 loc) • 539 B
TypeScript
import type { I18nClient } from '@payloadcms/translations';
import type { Payload, User } from 'payload';
import type { CustomTranslationsKeys, CustomTranslationsObject } from '../../i18n/types.js';
import type { PayloadTOTPConfig } from '../../types.js';
type Args = {
i18n: I18nClient<CustomTranslationsObject, CustomTranslationsKeys>;
payload: Payload;
pluginOptions: PayloadTOTPConfig;
user: User;
};
export default function Remove({ i18n, payload, pluginOptions, user }: Args): import("react").JSX.Element;
export {};