|
|
|
@ -58,7 +58,8 @@ namespace MyCompanyName.MyProjectName.Web.Menus |
|
|
|
|
|
|
|
if (currentUser.IsAuthenticated) |
|
|
|
{ |
|
|
|
context.Menu.AddItem(new ApplicationMenuItem("Account.Manage", accountStringLocalizer["ManageYourProfile"], $"{identityServerUrl.EnsureEndsWith('/')}Account/Manage", icon: "fa fa-cog", order: 1000, null, "_blank")); |
|
|
|
context.Menu.AddItem(new ApplicationMenuItem("Account.Manage", accountStringLocalizer["ManageYourProfile"], |
|
|
|
$"{identityServerUrl.EnsureEndsWith('/')}Account/Manage?returnUrl={_configuration["App:SelfUrl"]}", icon: "fa fa-cog", order: 1000, null, "_blank")); |
|
|
|
context.Menu.AddItem(new ApplicationMenuItem("Account.Logout", l["Logout"], url: "~/Account/Logout", icon: "fa fa-power-off", order: int.MaxValue - 1000)); |
|
|
|
} |
|
|
|
|
|
|
|
|