refactor TenantDBContext to accomodate AspNetUserPasskeys

This commit is contained in:
sbwalker
2025-10-22 14:06:15 -04:00
parent 39ad5a0638
commit 273097d96d
5 changed files with 102 additions and 12 deletions

View File

@@ -369,6 +369,15 @@ namespace Oqtane.Managers
IdentityUser identityuser = await _identityUserManager.FindByNameAsync(user.Username);
if (identityuser != null)
{
try
{
var passKeysFunctional = await _identityUserManager.GetPasskeysAsync(identityuser);
}
catch (Exception ex)
{
var error = ex.ToString();
}
var result = await _identitySignInManager.CheckPasswordSignInAsync(identityuser, user.Password, true);
if (result.Succeeded)
{