Good news. 👍
hi
Please set your log level to Debug and reproduce the problem then share the logs.txt to liming.ma@volosoft.com
Thanks.
public class Program
{
public async static Task<int> Main(string[] args)
{
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.WriteTo.Async(c => c.Console())
.CreateLogger();
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