aboutsummaryrefslogtreecommitdiff
path: root/uploader/authorisation.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-08-08 15:30:42 -0500
committerFrederick Muriuki Muriithi2024-08-08 15:30:42 -0500
commitc5fd5ac4e1048889f45aa61ee9603c684c2ea909 (patch)
treec590c13c71f4f4836acf610c250cf35fd1b1481b /uploader/authorisation.py
parent06a760328a8ae9cb6d89a5ecc64c4e3281cb9bf1 (diff)
downloadgn-uploader-c5fd5ac4e1048889f45aa61ee9603c684c2ea909.tar.gz
Fix linting issues.
Diffstat (limited to 'uploader/authorisation.py')
-rw-r--r--uploader/authorisation.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/uploader/authorisation.py b/uploader/authorisation.py
index efd4dbd..8ab83f8 100644
--- a/uploader/authorisation.py
+++ b/uploader/authorisation.py
@@ -1,11 +1,9 @@
"""Authorisation utilities."""
from functools import wraps
-from urllib.parse import urljoin
from flask import flash, redirect
from uploader import session
-from uploader.oauth2.client import oauth2_client, authserver_uri
def require_login(function):
"""Check that the user is logged in before executing `func`."""