Fixes bug with register view because of improper scrubbing.

This commit is contained in:
Johnny 2018-10-27 11:07:54 +00:00
parent 0bd9d9a647
commit d20bd3de7d

View file

@ -32,7 +32,7 @@ class EvenniaForm(forms.Form):
cleaned = {k:escape(v) for k,v in cleaned.items()} cleaned = {k:escape(v) for k,v in cleaned.items()}
return cleaned return cleaned
class AccountForm(EvenniaForm, UserCreationForm): class AccountForm(UserCreationForm):
""" """
This is a generic Django form tailored to the Account model. This is a generic Django form tailored to the Account model.