aboutsummaryrefslogtreecommitdiff
path: root/budget/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'budget/forms.py')
-rw-r--r--budget/forms.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/budget/forms.py b/budget/forms.py
index f446475..06df743 100644
--- a/budget/forms.py
+++ b/budget/forms.py
@@ -83,6 +83,11 @@ class AuthenticationForm(FlaskForm):
submit = SubmitField(_("Get in"))
+class AdminAuthenticationForm(FlaskForm):
+ admin_password = PasswordField(_("Admin password"), validators=[Required()])
+ submit = SubmitField(_("Get in"))
+
+
class PasswordReminder(FlaskForm):
id = StringField(_("Project identifier"), validators=[Required()])
submit = SubmitField(_("Send me the code by email"))