Commit 64d8e051 authored by marclaporte's avatar marclaporte

Refining the new Token Access admin panel

parent e726c3ca
......@@ -33,6 +33,7 @@ function prefs_auth_list()
'perspective' => false,
'type' => 'flag',
'default' => 'n',
'view' => 'tiki-admin_tokens.php',
),
'auth_token_access_maxtimeout' => array(
'name' => tra('Token Access Max Timeout'),
......
......@@ -8,6 +8,7 @@
require_once('tiki-setup.php');
require_once('lib/auth/tokens.php');
$access->check_feature('auth_token_access');
$access->check_permission('tiki_p_admin');
$tokenlib = AuthTokens::build($prefs);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment