summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/forms')
-rw-r--r--ogcp/forms/auth.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/ogcp/forms/auth.py b/ogcp/forms/auth.py
index edc5d9a..526fdb0 100644
--- a/ogcp/forms/auth.py
+++ b/ogcp/forms/auth.py
@@ -21,8 +21,6 @@ class LoginForm(FlaskForm):
)
pwd = PasswordField(
label=_l('Password'),
- )
- pwd_hash = HiddenField(
validators=[InputRequired()]
)
submit_btn = SubmitField(
@@ -37,15 +35,11 @@ class UserForm(FlaskForm):
)
pwd = PasswordField(
label=_l('Password'),
- )
- pwd_hash = HiddenField(
- validators=[InputRequired()]
+ validators=[InputRequired()],
)
pwd_confirm = PasswordField(
label=_l('Repeat password'),
- )
- pwd_hash_confirm = HiddenField(
- validators=[InputRequired()]
+ validators=[InputRequired()],
)
admin = BooleanField(
label=_l('Administrator'),