From e480aec493e02d390bb5bc929e512a6d3a6cb787 Mon Sep 17 00:00:00 2001 From: Starthur Date: Tue, 29 Mar 2022 19:49:52 +0200 Subject: [PATCH] Remove debug --- src/accounts/views/connection.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/accounts/views/connection.py b/src/accounts/views/connection.py index 93a21ba..d83c20b 100644 --- a/src/accounts/views/connection.py +++ b/src/accounts/views/connection.py @@ -36,7 +36,6 @@ def connect_intra42(request): site = Site.objects.get_current() redirect_uri = reverse('accounts:connections-connect-intra42-authorize') redirect_uri = "https://" + site.domain + redirect_uri[3:] # remove language code - print(redirect_uri) return oauth.intra42.authorize_redirect(request, redirect_uri) @login_required @@ -90,7 +89,6 @@ def authorize_discord(request): return redirect('accounts:edit') response = oauth.discord.get('users/@me', token=token) response = response.json() - print(response) discord_id = response['id'] request.user.userprofileinfo.discord_id = discord_id request.user.userprofileinfo.save()