UNPKG

@accounts/two-factor

Version:

[![npm](https://img.shields.io/npm/v/@accounts/two-factor.svg)](https://www.npmjs.com/package/@accounts/two-factor) ![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)

23 lines (22 loc) 409 B
export interface ErrorMessages { /** * Default to 'User not found' */ userNotFound: string; /** * Default to '2FA code didn't match' */ codeDidNotMatch: string; /** * Default to '2FA not set' */ userTwoFactorNotSet: string; /** * Default to '2FA already set' */ userTwoFactorAlreadySet: string; /** * Default to '2FA code required' */ codeRequired: string; }