Skip to content

Commit

Permalink
Removed email-verified from member_settings.html form
Browse files Browse the repository at this point in the history
Added it under `exclude` so that the user can't change the field manually without verifying their email
  • Loading branch information
Freshrojek committed May 12, 2021
1 parent cbbd1df commit 71f37a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions memberships/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class Meta:
"constitution_agreed",
"renewal_date",
"profile_image",
"email_verified",
] # JDG Should also exclude renewal date once we have it
widgets = {"birth_date": DateInput()}

Expand Down

0 comments on commit 71f37a0

Please sign in to comment.