In the new Identity 2, if I want to confirm user email, I can call UserManager.ConfirmEmail(userId, token). However I can't find how to confirm Phone number. Or am I getting the whole idea wrong?
Here is how I solved it:
UserManager.FindByName().PhoneConfirmed to true.UserManager.UpdateAsync() and pass in the updated user.Just one additional method from Microsoft would have saved these round trips!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With