Identity 2FA wont enable
working in implementing my own login procedures.
I've got a /register endpoint. this is mostly like the default, but it enables/resets 2FA.
The issue is when i try to log in it says 2FA is not enabled for the user.
as far as i can tell
await userManager.SetTwoFactorEnabledAsync(user, true);
should flip that switch that requires 2FA but its not? is this something i have to change in set up? some option to change when i add identity?2 Replies
bump
:(
Sad, no one helped you