fix a recent commit
Default user token provider is back
This commit is contained in:
parent
652a75c05e
commit
b3ccc69ec7
4 changed files with 7 additions and 7 deletions
|
|
@ -77,10 +77,12 @@ namespace Yavsc
|
|||
*/
|
||||
}
|
||||
).AddEntityFrameworkStores<ApplicationDbContext>()
|
||||
.AddTokenProvider<EmailTokenProvider<ApplicationUser>>(Constants.EMailFactor)
|
||||
.AddTokenProvider<EmailTokenProvider<ApplicationUser>>(Constants.DefaultFactor);
|
||||
// .AddTokenProvider<UserTokenProvider>(Constants.DefaultFactor)
|
||||
;
|
||||
|
||||
// .AddTokenProvider<UserTokenProvider>(Constants.SMSFactor)
|
||||
// .AddTokenProvider<UserTokenProvider>(Constants.EMailFactor)
|
||||
// .AddTokenProvider<UserTokenProvider>(Constants.AppFactor)
|
||||
//
|
||||
}
|
||||
private void ConfigureOAuthApp(IApplicationBuilder app, SiteSettings settings)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -132,8 +132,6 @@ namespace Yavsc
|
|||
|
||||
ConfigureOAuthServices(services);
|
||||
|
||||
// .AddTokenProvider<UserTokenProvider>(Constants.SMSFactor)
|
||||
//
|
||||
|
||||
services.AddCors(
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue