From 3f8fb6f1f1eaf0897749e3af769392fc0d2eb050 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 22 Mar 2024 23:43:49 +0300 Subject: Delete unused variable. Signed-off-by: Munyoki Kilyungi --- gn2/wqflask/oauth2/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn2/wqflask/oauth2') 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) -- cgit v1.2.3