forked from mfreiholz/persistent_login
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.inc.php.dist
More file actions
22 lines (17 loc) · 725 Bytes
/
Copy pathconfig.inc.php.dist
File metadata and controls
22 lines (17 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
// ----------------------------------
// PERSISTENT LOGIN / REMEMBER ME
// ----------------------------------
// Time until the peristent login cookie invalidates (in milliseconds; 60*60*24*3 = 3 days)
$rcmail_config['ifpl_login_expire'] = 60*60*24*3;
// The name of the persistent login cookie.
$rcmail_config['ifpl_cookie_name'] = '_pt';
// ----------------------------------
// TOKEN BASED (MORE SECURE!) - OPTIONAL
// Installation of database scripts required. (see "./sql/" folder)
// ----------------------------------
// Turn on feature to use tokens.
$rcmail_config['ifpl_use_auth_tokens'] = false;
// The name of the database for the AuthTokens.
$rcmail_config['db_table_auth_tokens'] = 'auth_tokens';
?>