SF Feature #3122736 - HTTP authentication realm

This commit is contained in:
Marcel van Dorp
2011-04-29 12:46:49 +10:00
committed by Deon George
parent a35298e7f3
commit 880a86f666
3 changed files with 16 additions and 9 deletions

View File

@@ -477,14 +477,6 @@ class Config {
'desc'=>'Blowfish key to encrypt cookie details',
'default'=>null);
$this->default->session['memorylimit'] = array(
'desc'=>'Set the PHP memorylimit warning threshold.',
'default'=>24);
$this->default->session['timelimit'] = array(
'desc'=>'Set the PHP timelimit.',
'default'=>30);
/** Cookie Time
* If you used auth_type 'form' in the servers list, you can adjust how long the cookie will last
* (default is 0 seconds, which expires when you close the browser)
@@ -493,6 +485,18 @@ class Config {
'desc'=>'Time in seconds for the life of cookies',
'default'=>0);
$this->default->session['http_realm'] = array(
'desc'=>'HTTP Authentication Realm',
'default'=>sprintf('%s %s',app_name(),_('login')));
$this->default->session['memorylimit'] = array(
'desc'=>'Set the PHP memorylimit warning threshold.',
'default'=>24);
$this->default->session['timelimit'] = array(
'desc'=>'Set the PHP timelimit.',
'default'=>30);
/**
* Session Menu
*/