mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-30 10:40:04 -05:00
Parentheses matter.
This commit is contained in:
parent
b9f39ce269
commit
db1ed32490
@ -199,8 +199,8 @@ def login(request):
|
|||||||
client_id = client.client_id,
|
client_id = client.client_id,
|
||||||
client_secret = client.client_secret,
|
client_secret = client.client_secret,
|
||||||
api_base_url = api_base_url)
|
api_base_url = api_base_url)
|
||||||
return redirect(mastodon.auth_request_url(redirect_uris=redirect_uris),
|
return redirect(mastodon.auth_request_url(redirect_uris=redirect_uris,
|
||||||
scopes=['read', 'write', 'follow'])
|
scopes=['read', 'write', 'follow']))
|
||||||
else:
|
else:
|
||||||
return render(request, 'setup/login.html', {'form': form})
|
return render(request, 'setup/login.html', {'form': form})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user