Activities of "liangshiwei"

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, it works for me. could you using startup template to reproduce this problem?

Hi

  1. I think you should to use valid SSL certificate. You can use https://letsencrypt.org/
  2. You don't need this.
  3. Can you share some screenshots?

Hi

Now, we are using code flow. but you can still get the refresh token

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.

  • Verify base url Usually you don't need to set, But if your country cannot access Google services, you need to set the value. For China, the value should be https://recaptcha.google.cn/
  • Version Version of reCaptcha
  • Site key Site key of reCaptcha
  • Site secret Site secret of reCaptcha

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.

Showing 6261 to 6270 of 6692 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