Allow specifying cookie lifetime via config variable

Tweak $a->config['system']['auth_cookie_lifetime']
This commit is contained in:
Sandro Santilli 2017-04-21 16:15:39 +02:00
commit 05b6891e89
2 changed files with 7 additions and 2 deletions

View file

@ -91,3 +91,6 @@ $a->config['system']['directory'] = 'https://dir.friendica.social';
// Allowed protocols in link URLs; HTTP protocols always are accepted
$a->config['system']['allowed_link_protocols'] = array('ftp', 'ftps', 'mailto', 'cid', 'gopher');
// Authentication cookie lifetime, in days
$a->config['system']['auth_cookie_lifetime'] = 7