Search code examples
abp-framework

Remove Tenant from (Custom) Login Page


Just getting started with the APB Framework (using mvc and SQL Server) so bear with this newbie.

I have turned off the use of Tenants.

Then following this article How to Customize the Login Page for MVC / Razor Page Applications I created a custom login page but the TENANT selection box is still appearing and it's not in the cshtml

The question is so how do I remove the Tenant box from the page??

EDIT: Well my flag was still set to true, so never mind!


Solution

  • you must go to Domain.Shared->MultiTenancy->MultiTenancyConsts.cs and change the below value to false

    public const bool IsEnabled = false;

    document link