diff options
author | Munyoki Kilyungi | 2024-03-22 23:43:49 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-03-26 10:01:13 +0300 |
commit | 3f8fb6f1f1eaf0897749e3af769392fc0d2eb050 (patch) | |
tree | 766bf177f52a29f23247aea79ee80077c36debc2 /gn2/wqflask/oauth2 | |
parent | 1f71672c6eb57e64299afa415569ac64dcf4a152 (diff) | |
download | genenetwork2-3f8fb6f1f1eaf0897749e3af769392fc0d2eb050.tar.gz |
Delete unused variable.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/wqflask/oauth2')
-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) |