Open Closed

advice for login #1280


0
kevinjee created

at login page, I think the "tenant" is not required ,because a user must be belong to a tenant ,so just input the user name and password ,abp can find the tenant name of the user.

of couse, the user name must be unique


1 Answer(s)
  • 0
    hikalkan created

    username is not unique across tenants. it's unique for same tenant. that's why we need tenantid. but if you ensure uniqueness application wide, you can remove it, disable mayhavetenantfilter and query users to get it's tenantid.