diff options
Diffstat (limited to 'gn2/wqflask/oauth2')
-rw-r--r-- | gn2/wqflask/oauth2/groups.py | 3 | ||||
-rw-r--r-- | gn2/wqflask/oauth2/request_utils.py | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/gn2/wqflask/oauth2/groups.py b/gn2/wqflask/oauth2/groups.py index 3223b932..3bc4bcb2 100644 --- a/gn2/wqflask/oauth2/groups.py +++ b/gn2/wqflask/oauth2/groups.py @@ -9,8 +9,7 @@ from .ui import render_ui from .checks import require_oauth2 from .client import oauth2_get, oauth2_post from .request_utils import ( - user_details, handle_error, process_error, handle_success, - raise_unimplemented) + user_details, handle_error, process_error, handle_success) groups = Blueprint("group", __name__) diff --git a/gn2/wqflask/oauth2/request_utils.py b/gn2/wqflask/oauth2/request_utils.py index 31eaa148..a453d18e 100644 --- a/gn2/wqflask/oauth2/request_utils.py +++ b/gn2/wqflask/oauth2/request_utils.py @@ -22,8 +22,6 @@ def authserver_authorise_uri(): f"&client_id={oauth2_clientid()}" f"&redirect_uri={urljoin(host_uri, 'oauth2/code')}") -def raise_unimplemented(): - raise Exception("NOT IMPLEMENTED") def user_details(): return oauth2_get("auth/user/").either( |