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)

11 lines 360 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getUserTwoFactorService = void 0; /** * Return the user two factor service object */ const getUserTwoFactorService = (user) => { return user.services?.['two-factor'] ?? null; }; exports.getUserTwoFactorService = getUserTwoFactorService; //# sourceMappingURL=user.js.map