Base solution for your next web application
Open Closed

users with no email #3918


User avatar
0
carelearning created

We have multiple customers (tenants) whose employees do not always have an email address. How can we create a user with UserManager with an optional (null) email address?


2 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Unfortunately, this is not allowed in ABP framework. I suggest setting email address to be username in your case.

  • User Avatar
    0
    dallgood created

    It is possible to have a null emailaddress. But you do have to disable the various validations and constraints throughout the system that check for null.