Compare commits

..

1 Commits

Author SHA1 Message Date
Tim Van Baak a8ba428e1f Add more logging 2021-02-18 20:54:05 -08:00
2 changed files with 1 additions and 4 deletions

View File

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

View File

@ -11,9 +11,6 @@
<form method="post" novalidate> <form method="post" novalidate>
{{ form.hidden_tag() }} {{ form.hidden_tag() }}
<p>{{ form.password.label }}<br>{{ form.password(size=32) }} <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> <p>{{ form.submit() }}</p>
</form> </form>
</div> </div>