From 460feea9980664cc91926e5b3456a80dd9178703 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 17 Jul 2024 11:36:17 -0500 Subject: Remove redundant import. --- gn2/wqflask/oauth2/checks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gn2/wqflask/oauth2/checks.py b/gn2/wqflask/oauth2/checks.py index b8db6dc2..4a5a117f 100644 --- a/gn2/wqflask/oauth2/checks.py +++ b/gn2/wqflask/oauth2/checks.py @@ -6,7 +6,6 @@ from flask import flash, request, redirect from authlib.integrations.requests_client import OAuth2Session from . import session -from .session import clear_session_info from .client import ( oauth2_get, oauth2_client, @@ -33,7 +32,7 @@ def require_oauth2(func): if not user_details.get("error", False): return func(*args, **kwargs) - return clear_session_info(token) + return __clear_session__(token) return session.user_token().either(__clear_session__, __with_token__) -- cgit v1.2.3