Compare commits

..

1 Commits

Author SHA1 Message Date
Tim Van Baak 6b72bc499a Add more logging 2021-02-18 20:47:44 -08:00
2 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class Admin(UserMixin):
class LoginForm(FlaskForm):
password = PasswordField('Password')
password = PasswordField('Password', validators=[DataRequired()])
submit = SubmitField('Submit')

View File

@ -11,6 +11,9 @@
<form method="post" novalidate>
{{ form.hidden_tag() }}
<p>{{ form.password.label }}<br>{{ form.password(size=32) }}
{% for error in form.password.errors %}
<br><span style="color: #ff0000">{{ error }}</span>
{% endfor %}</p>
<p>{{ form.submit() }}</p>
</form>
</div>