mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Specify that threshold is in days
This commit is contained in:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user