aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/forms.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-06-21 17:24:33 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-06-21 17:24:33 -0500
commitf7698af1c118afa4f0db10cc0359d2b8b0e319b4 (patch)
tree70418245ca481226d6f6bc9855378ecf2c153645 /mediagoblin/edit/forms.py
parentc482f0149d566156c4017fa58a8d57ffde90b1dc (diff)
downloadmediagoblin-f7698af1c118afa4f0db10cc0359d2b8b0e319b4.tar.lz
mediagoblin-f7698af1c118afa4f0db10cc0359d2b8b0e319b4.tar.xz
mediagoblin-f7698af1c118afa4f0db10cc0359d2b8b0e319b4.zip
Removing the "enter your password to change your email" bit.
A good idea, though it feels fairly clumsy in the form, and I think if you're logged in you can already sabotage the user pretty well. This commit sponsored by Sergey Matveev. Thanks!
Diffstat (limited to 'mediagoblin/edit/forms.py')
-rw-r--r--mediagoblin/edit/forms.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py
index 3a502263..24b31a76 100644
--- a/mediagoblin/edit/forms.py
+++ b/mediagoblin/edit/forms.py
@@ -65,12 +65,6 @@ class EditAccountForm(wtforms.Form):
_('New email address'),
[wtforms.validators.Optional(),
normalize_user_or_email_field(allow_user=False)])
- password = wtforms.PasswordField(
- _('Password'),
- [wtforms.validators.Optional(),
- wtforms.validators.Length(min=5, max=1024)],
- description=_(
- 'Enter your old password to prove you own this account.'))
license_preference = wtforms.SelectField(
_('License preference'),
[