mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2025-12-09 20:09:30 +02:00
Do not get state implicitly
This commit is contained in:
@@ -118,7 +118,7 @@ class DiscordOAuth2HttpClient(abc.ABC):
|
||||
return OAuth2Session(
|
||||
client_id=self.client_id,
|
||||
token=token or self.get_authorization_token(),
|
||||
state=state or session.get("DISCORD_OAUTH2_STATE"),
|
||||
state=state,
|
||||
scope=scope,
|
||||
redirect_uri=self.redirect_uri,
|
||||
auto_refresh_kwargs={
|
||||
|
||||
Reference in New Issue
Block a user