Open Closed

Bug in error message on User Management #6288


User avatar
0
balessi75 created

ABP Commercial 7.4.2 / Blazor Server / EF / Non tiered / Separate Host and Tenant DBs / Lepton Theme

Hi,

The password complexity validation message can sometimes have the text Identity.Default appended to the end of it.

Steps to reproduce:

  1. Change the required number of unique password characters from 1 to 5
  2. Attempt to add a user with a password containing 1 character


6 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Thanks, I can reproduce this.

    I will fix it and provide a temporary solution

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Because localized text is missing, You can add this in the localization file:

    "Volo.Abp.Identity:PasswordRequiresUniqueChars": "Passwords must use at least {0} different characters."
    
    Configure<AbpLocalizationOptions>(options =>
    {
        options.Resources.Get<IdentityResource>().AddVirtualJson("/Localization/....");
    });
    
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    https://github.com/abpframework/abp/pull/18390

  • User Avatar
    0
    balessi75 created

    Thanks. We found another area when adding a user...

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I will check all the missing localized text.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    We found another area when adding a user...

    Can you share the error logs?

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09