Try
[Dependency(ReplaceServices = true)]
public class MyUnitOfWorkMongoDbContextProvider<TMongoDbContext> : UnitOfWorkMongoDbContextProvider<TMongoDbContext> where TMongoDbContext : IAbpMongoDbContext
{
public MyUnitOfWorkMongoDbContextProvider(IUnitOfWorkManager unitOfWorkManager, IConnectionStringResolver connectionStringResolver) : base(unitOfWorkManager, connectionStringResolver)
{
}
public new TMongoDbContext CreateDbContextWithTransaction(
IUnitOfWork unitOfWork,
MongoUrl url,
MongoClient client,
IMongoDatabase database)
{
var dbContext = unitOfWork.ServiceProvider.GetRequiredService<TMongoDbContext>();
dbContext.ToAbpMongoDbContext().InitializeDatabase(database, null);
return dbContext;
}
}
Hi,
There is no good way to disable yet, You can replace the UnitOfWorkMongoDbContextProvider
class and remove CreateDbContextWithTransaction
method
Hi
Try:
visible : function(data){
return data == 'New';
}
Hi
Does try to clear the cookie works for you?
Hi
Maybe https://support.abp.io/QA/Questions/447/LoginAPI-Trying-to-log-in-from-an-app-using-the-API---need-to-know-how-to-identify-the-tenant-that-the-user-belongs-to can help you
Hi
Enable reCaptcha is easy.
Open the account settings page and select the checkbox. (you can use the 6LeEZ-kUAAAAAGdgiM9BoWiRKBZOeULch73OlyZP
key and 6LeEZ-kUAAAAADBrLM1zkIy0mF_4rbBp3toA6zIJ
secret for test)
Now, return to login page. you will see the reCaptcha is working.
There are some options.
https://recaptcha.google.cn/
You can get the reCaptcha key and secret at https://www.google.com/recaptcha/about/ You can get your Site key and Site secret from https://www.google.com/recaptcha/admin
Hi,
If you are using the setting module, they are already persisted in the database.