fix session_sessiontimeout request and add missing language string
Signed-off-by: envoyr <hello@envoyr.com>
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user