Activities of "safi"

You add a MyProfileManagementPageContributorservice and remove two auth and pictures from the context.

public class MyAccountProfileManagementPageContributor : IProfileManagementPageContributor { public async Task ConfigureAsync(ProfileManagementPageCreationContext context) { var l = context.ServiceProvider.GetRequiredService<IStringLocalizer<AccountResource>>();

        if (await IsPasswordChangeEnabled(context))
        {
            context.Groups.Add(
                new ProfileManagementPageGroup(
                    "Volo-Abp-Account-Password",
                    l["ProfileTab:Password"],
                    typeof(AccountProfilePasswordManagementGroupViewComponent)
                )
            );
        }

        context.Groups.Add(
            new ProfileManagementPageGroup(
                "Volo-Abp-Account-PersonalInfo",
                l["ProfileTab:PersonalInfo"],
                typeof(AccountProfilePersonalInfoManagementGroupViewComponent)
            )
        );
    }

    protected virtual async Task&lt;bool&gt; IsPasswordChangeEnabled(ProfileManagementPageCreationContext context)
    {
        var userManager = context.ServiceProvider.GetRequiredService&lt;IdentityUserManager&gt;();
        var currentUser = context.ServiceProvider.GetRequiredService&lt;ICurrentUser&gt;();

        var user = await userManager.GetByIdAsync(currentUser.GetId());

        return !user.IsExternal;
    }
}

do I need to call this anywhere?

IProfileManagementPageContributor

do I need to use this code?

IProfileManagementPageContributor

do I need to use this code?

Hi

I want to remove two auth and picture tabs from the manage profile page so how can I delete or hide please let me know.

  • ABP Framework version: v4.4.3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Thanks,

Sure, you can send your project to engin.veske@volosoft.com.

are u checking?

I've checked and write you an email back, can you check and apply it?

yes it's working now thanks much :)

Sure, you can send your project to engin.veske@volosoft.com.

are u checking?

Sure, you can send your project to engin.veske@volosoft.com.

Hi

I can't share project but I shared code and error in mail so can you pls check.

Does your .HttpApi.Host and .IdentityServer projects are running? It seems it couldn't get a response from localhost:44358 and localhost:63079

can u share mail id or can we connect on zoom?

Does your .HttpApi.Host and .IdentityServer projects are running? It seems it couldn't get a response from localhost:44358 and localhost:63079

yes swagger is working

Just inherit the base class and override some methods and replace the built-in services.

What is the problem or bug now? shared code in mail.

Showing 161 to 170 of 347 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 04, 2025, 06:41