Injected service used to handle the user-related operations.
Configuration for (re)activation email.
Injected logger for logging.
Request context containing headers, body, params, and query.
body.userId
is required.
204 Status No Content
This handler will unlock the user by applying the following steps in sequence:
Error - When userId is not defined.
Error - When activateUserEmailConfig is not defined.
Error - When no mail service is provided in the configuration.
Error - When the user has no email.
Error - When failed to send the activation email.
Generated using TypeDoc
Activate user handler