aboutsummaryrefslogtreecommitdiff
path: root/plugins/VNLib.Plugins.Essentials.Accounts.Registration/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/VNLib.Plugins.Essentials.Accounts.Registration/src')
-rw-r--r--plugins/VNLib.Plugins.Essentials.Accounts.Registration/src/Endpoints/RegistrationEntpoint.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VNLib.Plugins.Essentials.Accounts.Registration/src/Endpoints/RegistrationEntpoint.cs b/plugins/VNLib.Plugins.Essentials.Accounts.Registration/src/Endpoints/RegistrationEntpoint.cs
index b593456..83c1528 100644
--- a/plugins/VNLib.Plugins.Essentials.Accounts.Registration/src/Endpoints/RegistrationEntpoint.cs
+++ b/plugins/VNLib.Plugins.Essentials.Accounts.Registration/src/Endpoints/RegistrationEntpoint.cs
@@ -88,7 +88,7 @@ namespace VNLib.Plugins.Essentials.Accounts.Registration.Endpoints
//Init reg jwt validator
RegJwtValdidator = GetJwtValidator();
- Passwords = plugin.GetPasswords();
+ Passwords = plugin.GetOrCreateSingleton<ManagedPasswordHashing>();
Users = plugin.GetOrCreateSingleton<UserManager>();
RevokedTokens = new(plugin.GetContextOptions());
Emails = plugin.GetOrCreateSingleton<TEmailConfig>();