Skip to content

Commit

Permalink
Merge pull request #8026 from Dillon-Brown/issue-8025
Browse files Browse the repository at this point in the history
Fixed #8025 - OAuth Keys & OAuth2 Clients and Tokens icons are missing
  • Loading branch information
willrennie committed Oct 10, 2019
2 parents ca788f3 + d34b355 commit 3d7b73a
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions modules/Administration/metadata/adminpaneldefs.php
Expand Up @@ -94,9 +94,22 @@

require_once 'include/SugarOAuthServer.php';
if (SugarOAuthServer::enabled()) {
$admin_option_defs['Administration']['oauth_keys']= array('Password','LBL_OAUTH_TITLE','LBL_OAUTH','./index.php?module=OAuthKeys&action=index');
$admin_option_defs['Administration']['oauth_keys'] = array(
'Password',
'LBL_OAUTH_TITLE',
'LBL_OAUTH',
'./index.php?module=OAuthKeys&action=index',
'oauth-keys'
);
}
$admin_option_defs['Administration']['oauth2_clients']= array('Password','LBL_OAUTH2_CLIENTS_TITLE','LBL_OAUTH2_CLIENTS','./index.php?module=OAuth2Clients&action=index');

$admin_option_defs['Administration']['oauth2_clients'] = array(
'Password',
'LBL_OAUTH2_CLIENTS_TITLE',
'LBL_OAUTH2_CLIENTS',
'./index.php?module=OAuth2Clients&action=index',
'password'
);

$admin_group_header[]= array('LBL_ADMINISTRATION_HOME_TITLE','',false,$admin_option_defs, 'LBL_ADMINISTRATION_HOME_DESC');

Expand Down

0 comments on commit 3d7b73a

Please sign in to comment.