You are here

function captcha_perm in CAPTCHA 5.3

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

Implementation of hook_perm().

File

./captcha.module, line 122
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',
  );
}