Skip to content

Commit

Permalink
Fixes #11206
Browse files Browse the repository at this point in the history
IEmailSender not registered in DI container
  • Loading branch information
nul800sebastiaan committed Sep 30, 2021
1 parent c02a97b commit 1d4c071
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public static Composition ComposeServices(this Composition composition)
composition.RegisterUnique<IExternalLoginService, ExternalLoginService>();
composition.RegisterUnique<IRedirectUrlService, RedirectUrlService>();
composition.RegisterUnique<IConsentService, ConsentService>();
composition.RegisterUnique<IEmailSender, EmailSender>();
composition.Register<LocalizedTextServiceFileSources>(SourcesFactory);
composition.RegisterUnique<ILocalizedTextService>(factory => new LocalizedTextService(
factory.GetInstance<Lazy<LocalizedTextServiceFileSources>>(),
Expand Down

0 comments on commit 1d4c071

Please sign in to comment.