From 8d4ab2236b23983d58f489871d0dcd6df030e3d6 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Thu, 14 Mar 2024 19:24:21 +0300 Subject: Delete dead comment. Signed-off-by: Munyoki Kilyungi --- gn_auth/auth/authorisation/checks.py | 1 - 1 file changed, 1 deletion(-) (limited to 'gn_auth') diff --git a/gn_auth/auth/authorisation/checks.py b/gn_auth/auth/authorisation/checks.py index ad71110..bf5e05a 100644 --- a/gn_auth/auth/authorisation/checks.py +++ b/gn_auth/auth/authorisation/checks.py @@ -38,7 +38,6 @@ def authorised_p( def __build_authoriser__(func: Callable): @wraps(func) def __authoriser__(*args, **kwargs): - # the_user = user or (hasattr(g, "user") and g.user) with require_oauth.acquire(oauth2_scope) as the_token: the_user = the_token.user if the_user: -- cgit v1.2.3