Skip to content

Commit

Permalink
change enrollform key to passwordinput
Browse files Browse the repository at this point in the history
  • Loading branch information
Jpadilla1 committed Apr 30, 2014
1 parent 61b9753 commit 6e61846
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/chats/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6e61846

Please sign in to comment.