forked from dennylin93/rcguard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.inc.php.dist
51 lines (36 loc) · 1.36 KB
/
config.inc.php.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/*
* rcguard configuration file
*/
// Number of failed logins before reCAPTCHA is shown
$rcmail_config['failed_attempts'] = 5;
// Release IP after how many minutes (after last failed attempt)
$rcmail_config['expire_time'] = 30;
// Use HTTPS for reCAPTCHA
$rcmail_config['recaptcha_https'] = false;
// Keys can be obtained from http://recaptcha.net/whyrecaptcha.html
// Public key for reCAPTCHA
$rcmail_config['recaptcha_publickey'] = '';
// Private key for reCAPTCHA
$rcmail_config['recaptcha_privatekey'] = '';
// Log events
$rcmail_config['recaptcha_log'] = false;
// Event is not logged when set to NULL
// Parameter expansion:
// %r - Remote IP
// %u - Username
$rcmail_config['recaptcha_log_success'] = 'Verification succeeded for %u. [%r]';
$rcmail_config['recaptcha_log_failure'] = 'Error: Verification failed for %u. [%r]';
$rcmail_config['recaptcha_log_unknown'] = 'Error: Unknown log type.';
// Options for persistent login plugin
// -----------------------------------
// Set to true if persistent login plugin is in use
$rcmail_config['pl_plugin'] = false;
// Name of persistent login cookie
$rcmail_config['pl_cookie_name'] = '_pt';
// XXX: Not supported yet!
// Set to true if persistent login uses tokens
$rcmail_config['pl_auth_tokens'] = false;
// Name of the database table for tokens
$rcmail_config['pl_auth_tokens_db_table'] = 'auth_tokens';
?>