1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/11917] Hide OAuth UCP Module when OAuth is not the selected backend

PHPBB3-11917
This commit is contained in:
Joas Schilling
2013-10-14 20:10:00 +02:00
parent da834a96f9
commit 57146ccdd1
3 changed files with 42 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ class ucp_auth_link_info
'title' => 'UCP_AUTH_LINK',
'version' => '1.0.0',
'modes' => array(
'auth_link' => array('title' => 'UCP_AUTH_LINK_MANAGE', 'auth' => '', 'cat' => array('UCP_PROFILE')),
'auth_link' => array('title' => 'UCP_AUTH_LINK_MANAGE', 'auth' => 'authmethod_oauth', 'cat' => array('UCP_PROFILE')),
),
);
}