identity: fix build

This commit is contained in:
Abdullah Atta
2023-09-09 20:37:45 +05:00
parent 3208fdd532
commit aa62803c73
@@ -72,8 +72,8 @@ namespace Streetwriters.Identity.Services
public async Task<bool> ResetMFAAsync(User user)
{
var result = await UserManager.SetTwoFactorEnabledAsync(user, false);
var result = await UserManager.SetTwoFactorEnabledAsync(user, true);
await UserManager.SetTwoFactorEnabledAsync(user, false);
await UserManager.SetTwoFactorEnabledAsync(user, true);
await this.RemovePrimaryMethodAsync(user);
await this.RemoveSecondaryMethodAsync(user);