Base solution for your next web application
Open Closed

Disabling MultiTenant from default Template #1155


User avatar
0
guillaumej created

As soon as I set

Configuration.MultiTenancy.IsEnabled = false;

I can't log anymore, using the admin account and the default password

I'm just using a basic, just created - project (I just changed the default password, but it work when multitenancy is enabled)


1 Answer(s)
  • User Avatar
    0
    guillaumej created

    Ok, got it

    adminUser = User.CreateTenantAdminUser(_tenantId, "[email protected]","123qwe");
    

    Instead of using DefaultPassword. Should I raise an issue, fix it on github ?