Browse Source

use a PasswordInput field for the supw

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
cceba08b1c
  1. 2
      pyweb/mumble/forms.py

2
pyweb/mumble/forms.py

@ -81,7 +81,7 @@ class MumbleForm( PropertyModelForm ):
motd = forms.CharField( required=False, widget=forms.Textarea ) motd = forms.CharField( required=False, widget=forms.Textarea )
passwd = forms.CharField( required=False, help_text=_( passwd = forms.CharField( required=False, help_text=_(
"Password required to join. Leave empty for public servers.") ) "Password required to join. Leave empty for public servers.") )
supw = forms.CharField( required=False )
supw = forms.CharField( required=False, widget=forms.PasswordInput )
obfsc = forms.BooleanField( required=False, help_text=_( obfsc = forms.BooleanField( required=False, help_text=_(
"If on, IP adresses of the clients are not logged.") ) "If on, IP adresses of the clients are not logged.") )
player = forms.CharField( required=False ) player = forms.CharField( required=False )

Loading…
Cancel
Save