Fixes #3597 - Update description of the session timeout setting.

This commit is contained in:
Rolf Schmidt 2021-06-07 08:20:18 +00:00 committed by Thorsten Eckel
parent ae9b197a9f
commit f1ade018fc
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,9 @@
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
class SessionTimeoutDescription < ActiveRecord::Migration[5.2]
def change
return if !Setting.exists?(name: 'system_init_done')
Setting.find_by(name: 'session_timeout').update(description: 'Defines the session timeout for inactivity of users. Based on the assigned permissions the highest timeout value will be used, otherwise the default.')
end
end

View file

@ -1049,7 +1049,7 @@ Setting.create_if_not_exists(
title: 'Session Timeout',
name: 'session_timeout',
area: 'Security::Base',
description: 'Defines the session timeout for inactivity of users (in seconds).',
description: 'Defines the session timeout for inactivity of users. Based on the assigned permissions the highest timeout value will be used, otherwise the default.',
options: {
form: [
{