Fixed problems with save data in db with Authentication
This commit is contained in:
parent
617f36bec9
commit
251cb07a55
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue