Skip to content
Snippets Groups Projects
Commit 3890c3fc authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

remove debug

parent 73a0ba3b
No related branches found
No related tags found
1 merge request!4Release
Pipeline #12674 passed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment