mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
minetest: Restrict max players between 1 and 100
This commit is contained in:
parent
533118c7f5
commit
2adb14e838
@ -30,6 +30,8 @@ class MinetestForm(ServiceForm):
|
||||
max_players = forms.IntegerField(
|
||||
label=_('Maximum number of players'),
|
||||
required=True,
|
||||
min_value=1,
|
||||
max_value=100,
|
||||
help_text=_('You can change the maximum number of players playing \
|
||||
minetest at a single instance of time'))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user