From 91b1cdf1ff9b1dac5ba9947bb0505b4a54b920d0 Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Thu, 9 Feb 2023 22:06:23 -0500 Subject: [PATCH] Moving session timeout settings to LIMITS. --- owrx/controllers/settings/general.py | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/owrx/controllers/settings/general.py b/owrx/controllers/settings/general.py index 430558a6..fa674166 100644 --- a/owrx/controllers/settings/general.py +++ b/owrx/controllers/settings/general.py @@ -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):