-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api.user_manager: create EmailSender only when required
Convert self._email_sender to an attribute and only create the object when required. This way, the API can be run without email support as long as no endpoints that rely on email features are used. Signed-off-by: Guillaume Tucker <[email protected]>
- Loading branch information
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters