Fixes #3597 - Update description of the session timeout setting.
This commit is contained in:
parent
ae9b197a9f
commit
f1ade018fc
2 changed files with 10 additions and 1 deletions
9
db/migrate/20210607000000_session_timeout_description.rb
Normal file
9
db/migrate/20210607000000_session_timeout_description.rb
Normal 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
|
|
@ -1049,7 +1049,7 @@ Setting.create_if_not_exists(
|
||||||
title: 'Session Timeout',
|
title: 'Session Timeout',
|
||||||
name: 'session_timeout',
|
name: 'session_timeout',
|
||||||
area: 'Security::Base',
|
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: {
|
options: {
|
||||||
form: [
|
form: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue