From 6e61846448a29247bbb64cecc5db92d6311ddadf Mon Sep 17 00:00:00 2001 From: Jpadilla1 Date: Tue, 29 Apr 2014 22:40:09 -0400 Subject: [PATCH] change enrollform key to passwordinput --- apps/chats/forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/chats/forms.py b/apps/chats/forms.py index a6427c1..911786f 100644 --- a/apps/chats/forms.py +++ b/apps/chats/forms.py @@ -21,7 +21,8 @@ class Meta: class EnrollRoomForm(forms.Form): key = forms.CharField(max_length=15, required=True, - validators=[MinLengthValidator(6), ]) + validators=[MinLengthValidator(6), ], + widget=forms.PasswordInput) helper = FormHelper() helper.form_method = 'POST' helper.add_input(Submit(