@superdevofficial/feathers-pwd
v1.0.8
Published
> Tool for manage password of your users, like the forgotten password.
Readme
FeathersPassword
Tool for manage password of your users, like the forgotten password.
Requirements
- feathers-mongoose: ^8.1.0
- @superdevofficial/feathers-mailer: ^0.0.10
- @superdevofficial/distribute or @superdevofficial/feathers-galaxy-core: ^0.3.19
Install
In your app.ts, you need to configure the service :
// need to be after this call :
app.configure(mongoose);
app.configure(FeathersPwd.configure({}));
Full Configuration
|index|type|example| |---|---|---|---| |appPrefix|string|"riverflow"| |serviceIndex|string|"forgotten-password"| |routeForgotPassword|string|"{{prefix}}/forgotten-password"| |limitOfDay|number|1| |mail|object|{ from: '', to: '', template: '', subject: '', data: {}}| |schema|object|{ date: { type: Date, required: true } }|
