Activities of "safi"

ProfileManagementPageCreationContext

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?

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 141 to 150 of 286 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30