Compare commits

..

1 Commits

Author SHA1 Message Date
Tim Van Baak 424f9dc8da Add more logging 2021-02-18 19:17:43 -08:00
1 changed files with 0 additions and 1 deletions

View File

@ -105,7 +105,6 @@ def document(document_id):
@app.route('/login/', methods=['GET', 'POST']) @app.route('/login/', methods=['GET', 'POST'])
def login(): def login():
form = LoginForm() form = LoginForm()
logger.debug('valid ' + str(form.validate()) + ' submi ' + str(form.is_submitted()))
if form.validate_on_submit(): if form.validate_on_submit():
logger.debug('checking pw') logger.debug('checking pw')
valid = check_password(current_app, form.password.data) valid = check_password(current_app, form.password.data)