mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 10:01:21 +01:00
No prompt for oauth
This commit is contained in:
parent
7c9868c373
commit
2dfdad197e
@ -21,7 +21,8 @@ def login_authenticated():
|
||||
discord = make_authenticated_session(scope=scope)
|
||||
authorization_url, state = discord.authorization_url(
|
||||
authorize_url,
|
||||
access_type="offline"
|
||||
access_type="offline",
|
||||
prompt="none",
|
||||
)
|
||||
session['oauth2_state'] = state
|
||||
return redirect(authorization_url)
|
||||
|
Loading…
Reference in New Issue
Block a user