UNPKG

feathers-authentication-management

Version:

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

11 lines (7 loc) 221 B
const cloneObject = require('./clone-object'); module.exports = sanitizeUserForNotifier; function sanitizeUserForNotifier (user1) { const user = cloneObject(user1); delete user.password; return user; }