Activities of "liangshiwei"

Answer

Hi,

You can consider using a Fluid layout instead of Fixed.

If you want to check on the server side, you can try to override the SendEmailConfirmationTokenAsync method.

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(AccountAppService))]
public class MyAccountAppService : AccountAppService
{
    protected override async Task SendEmailConfirmationTokenAsync(IdentityUser user,
        string applicationName,
        string returnUrl,
        string returnUrlHash)
    {
        var isEmailSent = // get from cache or db.
        if(isEmailSent){
            throw new UserfriendlyException("...")
        }else{
            var confirmationToken = await UserManager.GenerateEmailConfirmationTokenAsync(user);
            await AccountEmailer.SendEmailConfirmationLinkAsync(user, confirmationToken, applicationName, returnUrl, returnUrlHash);
            // add confirmationToken to cache or db
        }
        
    }
}

Hi,

In the latest version, the button will be hidden to prevent multiple send email.

Hi,

This is a problem, it seems we haven't updated the download file. I will ask the platform team.

What's your email, I can share it via email for now.

Hi,

Sorry, but I didn't get your email.

Hi,

okay, I will fix the problem in the next version.

Hi,

Yes, but the localized text is independent: https://github.com/abpframework/abp/blob/docspatch/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json#L54-L59

You can override the Register model.

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(RegisterModel))]
public class MyRegisterModel : RegisterModel
{
    protected override string GetLocalizeExceptionMessage(Exception exception)
    {
        var message = base.GetLocalizeExceptionMessage(exception);
        if(message.Contains("Passwords must"))
        {
            message = // change message here
        }
        return message;
    }
}

Hi,

This issue was delayed until 9.2 to fix it

https://abp.io/support/questions/8281/Why-Do-All-Tabs-Reload-When-Using-Refresh-Token-in-Angular-with-ABP#answer-3a16691c-0f3a-902b-5d9e-77306cf6255c

You can consider this temporary solution

You can override the AbpApplicationConfigurationController to change its behavior for your case.

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(AbpApplicationConfigurationController))]
public class MyAbpApplicationConfigurationController : AbpApplicationConfigurationController
{
    public MyAbpApplicationConfigurationController(
        IAbpApplicationConfigurationAppService applicationConfigurationAppService,
        IAbpAntiForgeryManager antiForgeryManager) : base(applicationConfigurationAppService, antiForgeryManager)
    {
    }

    public override async Task<ApplicationConfigurationDto> GetAsync(ApplicationConfigurationRequestOptions options)
    {
        var applicationConfiguration = await base.GetAsync(options);
        applicationConfiguration.Localization.CurrentCulture = xxxx;
        return applicationConfiguration;
    }
}

Hi,

It should work if you change the current language when you log in.

This is code-logical.

  • Angular app will get application configuration(currentCulture) from the backend.
  • Backend gets current culture from cookies.
  • Then get localization resources from the backend using the currentCulture

https://github.com/abpframework/abp/blob/rel-7.2/npm/ng-packs/packages/core/src/lib/services/config-state.service.ts#L54

https://github.com/abpframework/abp/blob/rel-7.2/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L261

Showing 181 to 190 of 6693 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 04, 2025, 06:41