How to use the feathers-authentication-management.removeVerification function in feathers-authentication-management

To help you get started, we’ve selected a few feathers-authentication-management examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Human-Connection / API / server / services / users / users.hooks.js View on Github external
populate({ schema: userSettingsSchema }),
      thumbnails(thumbnailOptions),
      // remove personal data if its not the current authenticated user
      iff(isOwnEntry(false),
        cleanupPersonalData
      ),
      iff(isOwnEntry(),
        populate({ schema: userSettingsPrivateSchema })
      )
    ],
    create: [
      when(isProvider('external'),
        sendVerificationEmail()
      ),
      when(isProvider('external'),
        removeVerification()
      ),
      thumbnails(thumbnailOptions),
      inviteCode.after
    ],
    update: [
      thumbnails(thumbnailOptions)
    ],
    patch: [],
    remove: []
  },

  error: {
    all: [],
    find: [],
    get: [],
    create: [],

feathers-authentication-management

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

MIT
Latest version published 6 months ago

Package Health Score

77 / 100
Full package analysis