hi
public virtual async Task OnGetAsync()
{
//ReturnUrl = GetRedirectUrl(ReturnUrl, ReturnUrlHash);
ReturnUrl = _configuration["App:BlazorUrl"];
//TODO: It would be good to try to switch tenant if needed
//CheckCurrentTenant(TenantId);
using(CurrentTenant.Change(TenantId))
{
await _accountAppService.ConfirmEmailAsync(new ConfirmEmailInput {UserId = UserId, Token = ConfirmationToken});
}
}
hi
Please the code of TVD_Holdings_Ltd.AvalancheOCP.HttpApi.Host\Pages\Account\EmailConfirmation.cshtml.cs as well.
Thanks.
at Volo.Abp.Account.Public.Web.Pages.Account.AvalancheOCPEmailConfirmationModel.OnGetAsync() in D:\Source\AvalancheOCP\Dev\src\TVD_Holdings_Ltd.AvalancheOCP.HttpApi.Host\Pages\Account\EmailConfirmation.cshtml.cs:line 46
hi
Can you share an online URL so I can test it?
I will check all redirects in commercial modules.
hi
What your Lepton package version?
Can you share a minimal project to reproduce?
hi
I suddenly realized that you need to remove AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true); if you need date with time zone.
hi
context.Services.Configure(options =>
{
options.InputDateTimeFormats.Add("yyyy/MM/dd");
});
If still not working, Please share a simple project. I will test it localy.
liming.ma@volosoft.com
hi
I will confirm it.
Can you share the logs of backend? liming.ma@volosoft.com