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:
parent
253a6d92f5
commit
bc9cbd1d6e
@ -264,7 +264,7 @@ def old_login(request):
|
|||||||
client = client,
|
client = client,
|
||||||
preferences = preferences)
|
preferences = preferences)
|
||||||
try:
|
try:
|
||||||
access_token = mastodon.log_in(username,
|
access_token = mastodon.log_in(email,
|
||||||
password,
|
password,
|
||||||
scopes=['read', 'write', 'follow'])
|
scopes=['read', 'write', 'follow'])
|
||||||
account.access_token = access_token
|
account.access_token = access_token
|
||||||
|
Loading…
Reference in New Issue
Block a user