Open Closed

"New user " Without Email is possible? Any possible solution? #1268


User avatar
0
abpVAndy created
  • ABP Framework version: v4.30
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Is there any way I could new user only with Username and Password? UI and back code. I donot need email when new user.

I check Volo.Abp.Identity, and see the [Required] in here: IdentityUserCreateOrUpdateDtoBase

Thanks


2 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    Since Identity Module uses Microsoft Identity, you should be able to set it in IdentityOptions like: <br>

    Configure<IdentityOptions>(options =>
    {
        options.User.RequireUniqueEmail = false;
    });
    
  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13