Yes please send it to liming.ma@volosoft.com I will test it.
What are full steps to reproduce in a new template?
hi
For openiddict
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(TokenController))]
class MyTokenController : TokenController
{
protected override async Task<IActionResult> SetSuccessResultAsync(OpenIddictRequest request, IdentityUser user)
{
var userManager = LazyServiceProvider.LazyGetRequiredService<IdentityUserManager>();
user.SetProperty(ConcurrentLoginConsts.ConcurrentLoginToken, Guid.NewGuid().ToString("N"));
await UserManager.UpdateAsync(user);
return await base.SetSuccessResultAsync(request, user);
}
}
https://github.com/abpframework/abp/blob/a4aba09dc909006ea188f322e73cf56f56fe4616/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/TokenController.Password.cs#L213
hi
Can you reproduce it in a new template project? liming.ma@volosoft.com
What is your PollingWorker class? You can inject services on the constructor or method context.
hi
We will fix this in RC 3, your question credits refunded.
but the first issue is that the values I saved is not loading.
I don't get it. Can you explain more?
I also tried the Send test email and its also not working.
Please remove the NullEmailSender.
#if DEBUG
context.Services.Replace(ServiceDescriptor.Singleton<IEmailSender, NullEmailSender>());
#endif
hi
What's the value of your Host setting?