identity: fix build

This commit is contained in:
Abdullah Atta committed 2023-09-09 20:37:45 +05:00
1 parent 3208fdd532
commit aa62803c73
1 file changed
+2 -2
@@ -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);