Oops, fix missing return statement.

That would cause problems.
This commit is contained in:
voussoir 2018-01-13 16:14:01 -08:00
parent 57f007d595
commit ec4b5b014b

View file

@ -15,6 +15,7 @@ def _generate_token(length=32):
def _normalize_token(token):
if isinstance(token, flask.Request):
token = token.cookies.get('etiquette_session', None)
return token
class SessionManager: