Starts in:
0 DAY
5 HRS
10 MIN
36 SEC
Starts in:
0 D
5 H
10 M
36 S
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.

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