diff options
author | Munyoki Kilyungi | 2024-03-14 19:24:21 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-03-21 10:03:43 +0300 |
commit | 8d4ab2236b23983d58f489871d0dcd6df030e3d6 (patch) | |
tree | c32825c204cd4b998f259f6b73791e8abdc70dbd | |
parent | 72e46bb93d48fae787f0e23b101cebfd4ab51d13 (diff) | |
download | gn-auth-8d4ab2236b23983d58f489871d0dcd6df030e3d6.tar.gz |
Delete dead comment.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | gn_auth/auth/authorisation/checks.py | 1 |
1 files changed, 0 insertions, 1 deletions
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: |