From bc9cbd1d6e4b0982cab88e4a937cae0092b14501 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Tue, 28 Aug 2018 12:48:52 -0400 Subject: [PATCH] Fix old_login; something got broken in last merge --- brutaldon/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brutaldon/views.py b/brutaldon/views.py index 57ccd40..bf63021 100644 --- a/brutaldon/views.py +++ b/brutaldon/views.py @@ -264,7 +264,7 @@ def old_login(request): client = client, preferences = preferences) try: - access_token = mastodon.log_in(username, + access_token = mastodon.log_in(email, password, scopes=['read', 'write', 'follow']) account.access_token = access_token