From 7c9ad9a4ecf8bc8cd5fb6fe398f4755c2f0cd11a Mon Sep 17 00:00:00 2001 From: Spitap Date: Fri, 3 Mar 2023 09:38:50 +0100 Subject: [PATCH] Specify that threshold is in days --- modoboa/core/app_settings.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modoboa/core/app_settings.py b/modoboa/core/app_settings.py index 30536366a..811c2df62 100644 --- a/modoboa/core/app_settings.py +++ b/modoboa/core/app_settings.py @@ -458,8 +458,9 @@ class GeneralParametersForm(param_forms.AdminParametersForm): enable_inactive_accounts = YesNoField( label=_("Enable inactive account tracking"), initial=True, - help_text=_("Allow the administrator to set a threshold beyond which " - "an account is considered inactive if the user hasn't logged.") + help_text=_("Allow the administrator to set a threshold (in days) " + "beyond which an account is considered inactive " + "if the user hasn't logged") ) inactive_account_threshold = forms.IntegerField( @@ -1081,8 +1082,9 @@ GLOBAL_PARAMETERS_STRUCT = collections.OrderedDict([ ("enable_inactive_accounts", { "label": ugettext_lazy("Enable inactive account tracking"), "help_text": ugettext_lazy( - "Allow the administrator to set a threshold beyond which " - "an account is considered inactive if the user hasn't logged." + "Allow the administrator to set a threshold (in days) " + "beyond which an account is considered inactive " + "if the user hasn't logged" ), }), ("inactive_account_threshold", {