Skip to content

Commit

Permalink
fix Discord prompt parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
owencompher authored Apr 7, 2024
1 parent d51d115 commit df91b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_dance/contrib/discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def make_discord_blueprint(
scope = scope or ["identify"]
authorization_url_params = {"prompt": "consent"}
if prompt is None:
authorization_url_params["prompt"] = None
authorization_url_params["prompt"] = "none"
discord_bp = OAuth2ConsumerBlueprint(
"discord",
__name__,
Expand Down

0 comments on commit df91b20

Please sign in to comment.