diff options
-rw-r--r-- | gn2/wqflask/oauth2/checks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/oauth2/checks.py b/gn2/wqflask/oauth2/checks.py index 5f0d1376..d4025ffd 100644 --- a/gn2/wqflask/oauth2/checks.py +++ b/gn2/wqflask/oauth2/checks.py @@ -17,7 +17,7 @@ def require_oauth2(func): @wraps(func) def __token_valid__(*args, **kwargs): """Check that the user is logged in and their token is valid.""" - config = current_app.config + def __clear_session__(_no_token): session.clear_session_info() flask_session.pop("oauth2_token", None) |