Fix old_login; something got broken in last merge

This commit is contained in:
Jason McBrayer 2018-08-28 12:48:52 -04:00
parent 253a6d92f5
commit bc9cbd1d6e
1 changed files with 1 additions and 1 deletions

View File

@ -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