diff --git a/core/src/components/UserMenu/UserMenuEntry.vue b/core/src/components/UserMenu/UserMenuEntry.vue index 8f09137256caa..cb27c34d8975b 100644 --- a/core/src/components/UserMenu/UserMenuEntry.vue +++ b/core/src/components/UserMenu/UserMenuEntry.vue @@ -25,6 +25,7 @@ class="menu-entry"> diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php index cac52ab5c9f1c..17424f1b5fe63 100644 --- a/lib/private/NavigationManager.php +++ b/lib/private/NavigationManager.php @@ -294,6 +294,7 @@ private function init() { 'id' => 'admin_settings', 'order' => 4, 'href' => $this->urlGenerator->linkToRoute('settings.AdminSettings.index', ['section' => 'overview']), + 'target' => '_blank', 'name' => $l->t('Administration settings'), 'icon' => $this->urlGenerator->imagePath('settings', 'admin.svg'), ]); diff --git a/tests/lib/NavigationManagerTest.php b/tests/lib/NavigationManagerTest.php index beefc2353d6c9..7571d651d00d0 100644 --- a/tests/lib/NavigationManagerTest.php +++ b/tests/lib/NavigationManagerTest.php @@ -343,7 +343,8 @@ public function providesNavigationConfig() { 'active' => false, 'type' => 'settings', 'classes' => '', - 'unread' => 0 + 'unread' => 0, + 'target' => '_blank', ] ];