Make auth debug log less chatty
It was dumping way too much data, more than I needed
This commit is contained in:
parent
459a1b2960
commit
b716502b78
|
@ -35,7 +35,7 @@ def logout():
|
|||
return flask.redirect('/login/')
|
||||
|
||||
def require_login():
|
||||
LOGGER.debug("Current user %s for %s", flask.session, flask.request.path)
|
||||
LOGGER.debug("Current user %s", flask.session.get('user_id'))
|
||||
if flask.request.path == '/login/':
|
||||
return
|
||||
if not flask.session.get('user_id'):
|
||||
|
|
Loading…
Reference in New Issue