From 3890c3fc8424894dcc0f4201ea00a472b4505f41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Tue, 2 May 2023 20:30:49 +0200
Subject: [PATCH] remove debug

---
 oidc/auth.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/oidc/auth.py b/oidc/auth.py
index aa433a9..07cea60 100644
--- a/oidc/auth.py
+++ b/oidc/auth.py
@@ -62,10 +62,6 @@ class RegistryOIDCAuthenticationBackend(PiratesOIDCAuthenticationBackend):
             user, decoded_access_token, user_groups=user_groups
         )
 
-        from django_http_exceptions import HTTPExceptions
-        import json
-        raise HTTPExceptions.FORBIDDEN.with_content(json.dumps(decoded_access_token))
-
         user.update_group_based_admin()
         user.save(saved_by_auth=True)
 
-- 
GitLab