UNPKG

feathers-authentication-management

Version:

Adds sign up verification, forgotten password reset, and other capabilities to local feathers-authentication

11 lines (10 loc) 372 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sanitizeUserForNotifier = void 0; const clone_object_1 = require("./clone-object"); function sanitizeUserForNotifier(_user) { const user = (0, clone_object_1.cloneObject)(_user); delete user.password; return user; } exports.sanitizeUserForNotifier = sanitizeUserForNotifier;