hi
How can I set the behavior for all the tenants as superadmin (admin without a tenant)
Get IdentityProSettingNames.Session.PreventConcurrentLogin definition and change the default value in your SettingDefinitionProvider
new SettingDefinition(IdentityProSettingNames.Session.PreventConcurrentLogin,
IdentityProPreventConcurrentLoginBehaviour.Disabled.ToString(),
L("DisplayName:Abp.Identity.PreventConcurrentLogin"),
L("Description:Abp.Identity.PreventConcurrentLogin"),
true)
make sure that tenant admins cannot change it in any case?
You can override the UpdateSessionAsync method of IdentitySettingsAppService to ensure that only the host admin can change it.
ok, You can keep watch.
as the AddAlwaysDisableUnitOfWorkTransaction method name, It disables transaction always.
hi
You can refer to OpenIddictDataSeedContributor class.
https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Domain/OpenIddict/OpenIddictDataSeedContributor.cs
https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.DbMigrator/appsettings.json#L10-L48
How many clients do you have?
hi
Can you share a simple project to reproduce your problem? https://wetransfer.com/
Thanks.
liming.ma@volosoft.com
hi
If this document can't help, I will ask our front team.
https://docs.abp.io/en/abp/latest/Getting-Started-React-Native?Tiered=Yes
hi
Can you share a simple project to reproduce this?
liming.ma@volosoft.com
Thanks.
hi
Can you try to using the AbpUnitTestSqliteConnection in your EF Core test project?
https://github.com/abpframework/abp/blob/c4b8e00e2e4b2b0f7e56aff07e26b56fceb0d0ed/templates/module/aspnet-core/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs#L36