Compare commits

..

1 Commits

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

View File

@ -108,6 +108,7 @@ 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 action="" 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 %} {% for error in form.password.errors %}