This commit is contained in:
Scott Brady
2020-04-04 19:58:09 +01:00
parent 809ead4223
commit 02dfa893e9
5 changed files with 131 additions and 11 deletions

View File

@@ -99,7 +99,8 @@ namespace Umbraco.Web.Security
public Task<bool> CanGenerateTwoFactorTokenAsync(UserManager<TUser> manager, TUser user)
{
return Task.FromResult(true);
// This token provider is designed for flows such as password reset and account confirmation
return Task.FromResult(false);
}
}