Sunil Mohan Adapa 9368504da5
*.py: Use SPDX license identifier
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-02-19 14:38:55 +02:00

24 lines
632 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""
Mumble server configuration form
"""
from django import forms
from django.utils.translation import ugettext_lazy as _
from plinth.forms import AppForm
class MumbleForm(AppForm):
"""Mumble server configuration"""
super_user_password = forms.CharField(
max_length=20,
label=_('Set SuperUser Password'),
widget=forms.PasswordInput,
help_text=_(
'Optional. Leave this field blank to keep the current password. '
'SuperUser password can be used to manage permissions in Mumble.'
),
required=False,
)