diff --git a/brutaldon/views.py b/brutaldon/views.py index a5409b5..d2542b8 100644 --- a/brutaldon/views.py +++ b/brutaldon/views.py @@ -198,7 +198,7 @@ def oauth_callback(request): request.session['access_token'] = access_token user = mastodon.account_verify_credentials() try: - account = Account.objects.get(username=user.username, client_id=client.id) + account = Account.objects.get(username=user.username) account.access_token = access_token account.save() except (Account.DoesNotExist, Account.MultipleObjectsReturned):