aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Settings_menu.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-05 21:01:36 -0700
committerzotlabs <mike@macgirvin.com>2018-04-05 21:01:36 -0700
commit4a45c35c4e0e27b737d80a6f151b0b50aaef3d1e (patch)
tree1ddd74525c12c76ab13c5d8dae12872a7a74ed56 /Zotlabs/Widget/Settings_menu.php
parentf4c94ab121167ac34e550939f032e9982d69307b (diff)
downloadvolse-hubzilla-4a45c35c4e0e27b737d80a6f151b0b50aaef3d1e.tar.gz
volse-hubzilla-4a45c35c4e0e27b737d80a6f151b0b50aaef3d1e.tar.bz2
volse-hubzilla-4a45c35c4e0e27b737d80a6f151b0b50aaef3d1e.zip
oauth2 client settings page
Diffstat (limited to 'Zotlabs/Widget/Settings_menu.php')
-rw-r--r--Zotlabs/Widget/Settings_menu.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Settings_menu.php b/Zotlabs/Widget/Settings_menu.php
index 455fdcb9b..9574becc3 100644
--- a/Zotlabs/Widget/Settings_menu.php
+++ b/Zotlabs/Widget/Settings_menu.php
@@ -81,12 +81,20 @@ class Settings_menu {
if(feature_enabled(local_channel(),'oauth_clients')) {
$tabs[] = array(
- 'label' => t('Connected apps'),
+ 'label' => t('OAuth1 apps'),
'url' => z_root() . '/settings/oauth',
'selected' => ((argv(1) === 'oauth') ? 'active' : ''),
);
}
+ if(feature_enabled(local_channel(),'oauth2_clients')) {
+ $tabs[] = array(
+ 'label' => t('OAuth2 apps'),
+ 'url' => z_root() . '/settings/oauth2',
+ 'selected' => ((argv(1) === 'oauth2') ? 'active' : ''),
+ );
+ }
+
if(feature_enabled(local_channel(),'access_tokens')) {
$tabs[] = array(
'label' => t('Guest Access Tokens'),