Disable Two-Factor Authentication in ASP.NET Identity 2.0.0-beta1
问题 I'm using the latest 2.0.0-beta1 release of ASP.NET Identity and I don't want to utilise the new two-factor authentication support. In fact I want to remove the additional database columns EmailConfirmed, PhoneNumber, PhoneNumberConfirmed and TwoFactorEnabled but I can't see where I need to override the Identity classes to disable this functionality. 回答1: You need to implement your own UserStore to remove the functionality. The generic constraint on Identity.EntityFramework.UserStore is that