Activities of "maliming"

hi

Please create a same name app-pro project and copy MyProjectNameTenantDatabaseMigrationHandler to your Dm.DynamicTemplate.IdentityServer project.

hi

I think you can change to Host instead of disabling the filter.

using (CurrentTenant.Change(null))


// disable TenantFilter
using (_dataFilter.Disable())
{
    // read tenant from username (unique for all tenants, by overwritten RegisterModel)
    // if we login with disabled IMultiTenant DataFilter, we have issues with claims
    // therefore we read tenant from username, then switch the current tenant and login

    await ReplaceEmailToUsernameOfInputIfNeeds();
    tenantId = await _extendedOrganizationUnitAppService.GetTenantByUsername(LoginInput.UserNameOrEmailAddress);
}

btw, can you share tenantId = await _extendedOrganizationUnitAppService.GetTenantByUsername(LoginInput.UserNameOrEmailAddress); as well?

hi

I can't reproduce your problem,Can you share full steps?

hi

  1. You can customize the code to change the 2faof all users under the role when the role is changed.
  2. Or override the PasswordSignInAsyncmethod of SignInManager<IdentityUser> class and GetTwoFactorEnabledAsync of UserManager<IdentityUser>

hi

There is a property UserSecurityStamp of IdentityUser and SecurityStampValidator.

When the important properties of the user(username, email, password, etc) are changed, this value will change,

You can set SecurityStampValidatorOptions.ValidationInterval Property to 3 second or other values.

hi

I will check it asap.

hi

I don't receive the mail. Can you check?

The date format changed after the language changed.

hi trevor.wilson

. I am wondering if there a way for me to switch an existing dotnet solution to use the app-pro template?

You can only manually create a new app-pro project, and then refer to the new project to replace the open source package with the pro package. Just compare projects.

Showing 7481 to 7490 of 10623 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 10, 2025, 06:30