From 0b69a1261522dd5d0a3aeddcda54b7757d288c24 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Wed, 18 Jul 2018 14:56:52 -0400 Subject: [PATCH] Fix permissions on oauth login. Why is it not the same as password login? --- brutaldon/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brutaldon/views.py b/brutaldon/views.py index f2f4798..3a9453d 100644 --- a/brutaldon/views.py +++ b/brutaldon/views.py @@ -170,7 +170,7 @@ def oauth_callback(request): redirect_uri = request.build_absolute_uri(reverse('oauth_callback')) access_token = mastodon.log_in(code=code, redirect_uri=redirect_uri, - scopes=['read', 'write', 'follow', 'push']) + scopes=['read', 'write', 'follow']) request.session['access_token'] = access_token user = mastodon.account_verify_credentials() request.session['user'] = user