fix session_sessiontimeout request and add missing language string

Signed-off-by: envoyr <hello@envoyr.com>
This commit is contained in:
envoyr 2024-05-11 18:38:56 +02:00
parent 1a5680d2a8
commit 0d86340a4c
No known key found for this signature in database
GPG Key ID: 5A16F49AF96F462F
4 changed files with 4 additions and 2 deletions

View File

@ -69,7 +69,7 @@ if ($page == 'overview' && $userinfo['change_serversettings'] == '1') {
}
// check if the session timeout is too low #815
if (Request::post('session_sessiontimeout', 0) < 60) {
if (!empty(Request::post('session_sessiontimeout')) && intval(Request::post('session_sessiontimeout', 0)) < 60) {
Response::standardError(['session_timeout', 'session_timeout_desc']);
}

View File

@ -43,7 +43,7 @@ use Froxlor\UI\Response;
$domain_id = (int)Request::any('domain_id');
$record = Request::post('dns_record', null);
$record = Request::post('dns_record');
$type = Request::post('dns_type', 'A');
$prio = Request::post('dns_mxp');
$content = Request::post('dns_content');

View File

@ -1830,6 +1830,7 @@ Vielen Dank, Ihr Administrator',
],
'passwordcryptfunc' => [
'title' => 'Wählen Sie die zu verwendende Passwort-Verschlüsselungsmethode',
'description' => 'Wählen Sie, welche Methode zur Verschlüsselung von Kennwörtern verwendet werden soll. Wenn Sie diese Einstellung ändern, werden nur neue Kennwörter mit der neuen Methode verschlüsselt. Bestehende Passwörter werden nicht geändert.'
],
'systemdefault' => 'Systemstandard',
'panel_allow_theme_change_admin' => 'Erlaube Admins das Theme zu wechseln',

View File

@ -1952,6 +1952,7 @@ Yours sincerely, your administrator',
],
'passwordcryptfunc' => [
'title' => 'Choose which password-crypt method is to be used',
'description' => 'Choose which password-crypt method is to be used. If you change this setting, only new passwords will be encrypted with the new method. Existing passwords will not be changed.',
],
'systemdefault' => 'System default',
'panel_allow_theme_change_admin' => 'Allow admins to change the theme',