1.0.2 • Published 3 years ago

@mezielabs/adonis-confirm-password v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

adonis-confirm-password

Tagline

npm-image license-image typescript-image

A short brief

Installation

npm install @mezielabs/adonis-confirm-password

Then configure the package:

node ace configure @mezielabs/adonis-confirm-password

Usage

Register the middleware:

Server.middleware.registerNamed({
  // ...other middlewares
  confirmPassword: () => import('@ioc:Mezielabs/ConfirmPasswordMiddleware'),
})
await ConfirmPassword.confirm(auth, auth.user!.email, request.input('password'), session)
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago