remove scope hack for gotosocial
This commit is contained in:
parent
f14b239043
commit
a1b8e49209
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ def get_mastodon_login_url(app, login_domain, version, request):
|
|||
return f"https://twitter.com/i/oauth2/authorize?response_type=code&client_id={app.client_id}&redirect_uri={quote(url)}&scope={quote(settings.TWITTER_CLIENT_SCOPE)}&state=state&code_challenge=challenge&code_challenge_method=plain"
|
||||
scope = (
|
||||
settings.MASTODON_LEGACY_CLIENT_SCOPE
|
||||
if "Pixelfed" in version or version[0:2] == "0."
|
||||
if "Pixelfed" in version
|
||||
else settings.MASTODON_CLIENT_SCOPE
|
||||
)
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue