Oops, fix missing return statement.
That would cause problems.
This commit is contained in:
parent
57f007d595
commit
ec4b5b014b
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ def _generate_token(length=32):
|
||||||
def _normalize_token(token):
|
def _normalize_token(token):
|
||||||
if isinstance(token, flask.Request):
|
if isinstance(token, flask.Request):
|
||||||
token = token.cookies.get('etiquette_session', None)
|
token = token.cookies.get('etiquette_session', None)
|
||||||
|
return token
|
||||||
|
|
||||||
|
|
||||||
class SessionManager:
|
class SessionManager:
|
||||||
|
|
Loading…
Reference in a new issue