You are here

function captcha_perm in CAPTCHA 6

Same name and namespace in other branches
  1. 5.3 captcha.module \captcha_perm()
  2. 6.2 captcha.module \captcha_perm()

Implementation of hook_perm().

File

./captcha.module, line 98
This module enables basic CAPTCHA functionality: administrators can add a CAPTCHA to desired forms that users without the 'skip CAPTCHA' permission (typically anonymous visitors) have to solve.

Code

function captcha_perm() {
  return array(
    'administer CAPTCHA settings',
    'skip CAPTCHA',
  );
}