function tfa_permission in Two-factor Authentication (TFA) 7
Same name and namespace in other branches
- 7.2 tfa.module \tfa_permission()
Implements hook_permission().
File
- ./
tfa.module, line 50 - Two-factor authentication for Drupal.
Code
function tfa_permission() {
return array(
'skip tfa' => array(
'title' => t('Skip TFA process'),
'description' => t('Skip the Two-factor authentication process and authenticate as normal.'),
),
'admin tfa settings' => array(
'title' => t('Administer TFA'),
'description' => t('Configure the TFA process'),
'restrict access' => TRUE,
),
);
}