Password reset token provider in ASP.NET core - IUserTokenProvider not found

后端 未结 5 2322
时光说笑
时光说笑 2021-02-09 22:30

Hello,

I googled thoroughly but there is hundred examples from ASP.NET but nothing about ASP.NET Core.

In order to getting password reset work I need to registe

5条回答
  •  既然无缘
    2021-02-09 23:12

    add or correct following lines in startup.cs:

    services.AddIdentity()
                .AddEntityFrameworkStores()
                .AddDefaultTokenProviders();
    

    you can found more description here

提交回复
热议问题