Moving session timeout settings to LIMITS.

This commit is contained in:
Marat Fayzullin 2023-02-09 22:06:23 -05:00
parent 988e11181a
commit 91b1cdf1ff
1 changed files with 12 additions and 15 deletions

View File

@ -71,6 +71,18 @@ class GeneralSettingsController(SettingsFormController):
"max_clients",
"Maximum number of clients",
),
NumberInput(
"session_timeout",
"Session timeout",
infotext="User session timeout in seconds (0 to disable timeout).",
append="secs",
),
TextInput(
"usage_policy_url",
"Usage policy URL",
infotext="Specifies web page describing receiver usage policy "
+ "and shown when the user session times out.",
),
),
Section(
"Receiver listings",
@ -176,21 +188,6 @@ class GeneralSettingsController(SettingsFormController):
+ "is supposed to be.",
),
),
Section(
"Session Timeout",
TextInput(
"usage_policy_url",
"Usage policy URL",
infotext="Specifies web page describing receiver usage policy "
+ "and shown when the user session times out.",
),
NumberInput(
"session_timeout",
"Session Timeout",
infotext="User session timeout in seconds (0 to disable timeout).",
append="secs",
),
),
]
def remove_existing_image(self, image_id):