BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
24 NOV
1 DEC
00 Days
00 Hrs
00 Min
00 Sec
Open Closed

Chinese language input error while Creating User #221


User avatar
0
lalitChougule created
  • ABP Framework version: v2.7.0
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): no / Yes
  • Exception message and stack trace: User name '里įēĻ' is invalid, can only contain letters or digits.
  • Steps to reproduce the issue: Create User as per screenshot attached

I want to create user by providing chinese character as input but came accross this error

How do I set rule to allow chinese letters ?


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi

    Try:

    Configure<IdentityOptions>(options =>
    {
        //null allows all characters
        options.User.AllowedUserNameCharacters = null;
    });
    
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    I close this question, if you still have this problem, please reopen.

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 11, 2025, 06:29
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.