injected API to handle the authentication related operations
injected service use to handle the user related operations
injected logger used to handle the logging
request context [headers, body, params, query]. Note:
body
is required204 Status No Content
This handler will reset password by applying the following steps in sequence:
Get token from context.headers
Check token (authAPI.checkToken)
Update user (userService.updateUser)
Send email if enabled (resetPasswordSuccessConfig.mailService.sendMail)
403 NBError Forbidden
Generated using TypeDoc
Reset password handler