Skip to content

Commit 2b45027

Browse files
authored
Merge pull request #869 from nblock/flask
fix: use the real application object for Flask
2 parents 2ad8353 + b069eb1 commit 2b45027

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

authlib/integrations/flask_client/integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class FlaskIntegration(FrameworkIntegration):
1212
def update_token(self, token, refresh_token=None, access_token=None):
1313
token_update.send(
14-
current_app,
14+
current_app._get_current_object(),
1515
name=self.name,
1616
token=token,
1717
refresh_token=refresh_token,

0 commit comments

Comments
 (0)