diff options
author | vnugent <public@vaughnnugent.com> | 2023-09-13 13:52:27 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-09-13 13:52:27 -0400 |
commit | 4dae55cf424bb3b4e1f5f4fe1b853a0aea3b1f14 (patch) | |
tree | 0767854cfd6ebac50ceef612b90511f511d74900 /plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints | |
parent | 0f8e932e40910bfd7172632b62c61e7dc6801b25 (diff) |
fix mfa web disable
Diffstat (limited to 'plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints')
-rw-r--r-- | plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints/MFAEndpoint.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints/MFAEndpoint.cs b/plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints/MFAEndpoint.cs index 8580036..ba3eb4b 100644 --- a/plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints/MFAEndpoint.cs +++ b/plugins/VNLib.Plugins.Essentials.Accounts/src/Endpoints/MFAEndpoint.cs @@ -219,7 +219,7 @@ namespace VNLib.Plugins.Essentials.Accounts.Endpoints string? mfaType = request.RootElement.GetProperty("type").GetString(); //get the user - using IUser? user = await Users.GetUserFromIDAsync(entity.Session.UserID); + using IUser? user = await Users.GetUserAndPassFromIDAsync(entity.Session.UserID); if (user == null) { return VfReturnType.NotFound; |