Fixed problems with save data in db with Authentication

This commit is contained in:
m-lopez-f 2015-10-02 15:24:05 +02:00
parent 617f36bec9
commit 251cb07a55
1 changed files with 6 additions and 0 deletions

View File

@ -339,6 +339,8 @@ function config_update_config () {
$error_update[] = __('User');
if (!config_update_value ('rintegria_pass', get_parameter ('rintegria_pass')))
$error_update[] = __('Password');
if (!config_update_value ('session_timeout', get_parameter ('session_timeout')))
$error_update[] = __('Session timeout');
/////////////
break;
case 'perf':
@ -1318,6 +1320,10 @@ function config_process_config () {
"");
}
if (!isset ($config["session_timeout"])) {
config_update_value ('session_timeout', 90);
}
/* Finally, check if any value was overwritten in a form */
config_update_config();
}