0
zhangxd1222 created
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
2 Answer(s)
-
0
Firstly you have to create your profile menu contributor like below:
public class CustomProfileMenuContributor : IProfileManagementPageContributor { public Task ConfigureAsync(ProfileManagementPageCreationContext context) { context.Groups.ForEach(Console.WriteLine); context.Groups.Remove(context.Groups.First(x => x.Id == "Volo-Abp-Account-TwoFactor")); return Task.CompletedTask; } }Then go to WebModule class and add your contributor via configuring ProfileManagementPageOptions
Configure<ProfileManagementPageOptions>(p => { p.Contributors.Add(new CustomProfileMenuContributor()); });You'll see Two Factor is removed:
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
This question has been automatically marked as stale because it has not had recent activity.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)


