Compare commits

..

1 Commits

Author SHA1 Message Date
Tim Van Baak 5007a77675 Add more logging 2021-02-18 20:26:16 -08:00
2 changed files with 1 additions and 2 deletions

View File

@ -108,7 +108,6 @@ def login():
s = form.is_submitted() s = form.is_submitted()
logger.debug(f's={s}') logger.debug(f's={s}')
if s: if s:
logger.debug(request.get_data())
v = form.validate() v = form.validate()
logger.debug(f'v={v}') logger.debug(f'v={v}')
if v: if v:

View File

@ -8,7 +8,7 @@
<div id="index" class="tab tab-right"><a href="/index/">index</a></div> <div id="index" class="tab tab-right"><a href="/index/">index</a></div>
</div> </div>
<div class="tab-page tab-page-selected"> <div class="tab-page tab-page-selected">
<form method="post" novalidate> <form action="" 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 %} {% for error in form.password.errors %}