fix translation strings and update session lifetime to default panel sessiontimeout
Signed-off-by: Maurice Preuß (envoyr) <envoyr@froxlor.org>
This commit is contained in:
@@ -282,7 +282,7 @@ class Install
|
||||
{
|
||||
// TODO: do validations
|
||||
if (isset($field['mandatory']) && $field['mandatory'] && empty($attribute)) {
|
||||
throw new Exception(lng('install.errors.mandatory_field_not_set', [htmlspecialchars($field['label'])]));
|
||||
throw new Exception(lng('install.errors.mandatory_field_not_set', [$field['label']]));
|
||||
}
|
||||
return $attribute;
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ class UI
|
||||
public static function sendHeaders()
|
||||
{
|
||||
session_set_cookie_params([
|
||||
'lifetime' => 60, // will be renewed based on settings in lib/init.php
|
||||
'lifetime' => 600, // will be renewed based on settings in lib/init.php
|
||||
'path' => '/',
|
||||
'domain' => $_SERVER['HTTP_HOST'],
|
||||
'secure' => self::requestIsHttps(),
|
||||
|
||||
Reference in New Issue
Block a user