1
0
mirror of https://gitlab.com/brutaldon/brutaldon.git synced 2024-12-04 14:46:24 -05:00

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

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