From c1406a594cd8e54d71269330add0ab3574679a46 Mon Sep 17 00:00:00 2001 From: Ethan Nguyen Date: Tue, 20 Apr 2021 19:34:43 -0400 Subject: [PATCH] fix(authentication): return cleaned data in clean() --- tjdests/apps/authentication/forms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tjdests/apps/authentication/forms.py b/tjdests/apps/authentication/forms.py index ebad106..5ea1fe2 100644 --- a/tjdests/apps/authentication/forms.py +++ b/tjdests/apps/authentication/forms.py @@ -68,3 +68,5 @@ class TOSForm(forms.Form): # Validate the password for complexity, etc. validators = password_validation.get_default_password_validators() password_validation.validate_password(password1, None, validators) + + return cleaned_data