Skip to content

Commit

Permalink
fix session_sessiontimeout request and add missing language string
Browse files Browse the repository at this point in the history
Signed-off-by: envoyr <hello@envoyr.com>
  • Loading branch information
envoyr committed May 11, 2024
1 parent 1a5680d commit 0d86340
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
}

// 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']);
}

Expand Down
2 changes: 1 addition & 1 deletion dns_editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

$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');
Expand Down
1 change: 1 addition & 0 deletions lng/de.lng.php
Original file line number Diff line number Diff line change
Expand Up @@ -1830,6 +1830,7 @@
],
'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',
Expand Down
1 change: 1 addition & 0 deletions lng/en.lng.php
Original file line number Diff line number Diff line change
Expand Up @@ -1952,6 +1952,7 @@
],
'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',
Expand Down

0 comments on commit 0d86340

Please sign in to comment.