injected API to handle the authentication related operations
reset password configuration
injected service use to handle the user related operations
injected logger used to handle the logging
request context [headers, body, params, query].
204 Status No Content
This handler will send reset password email by applying the following steps in sequence:
Check if reset password feature is enabled, if yes continue next step, otherwise throw 404 error
Find user by email (userService.findUsers)
Generate token (authAPI.generateOnetimeToken)
Send email (sendResetPasswordEmailConfig.mailService.sendMail)
404 NBError Not Found
400 NBError Bad Request
500 NBError Internal Server Error
Generated using TypeDoc
Send reset password email handler