Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reversed docstrings for unset cookie funcs #449

Merged
merged 1 commit into from Sep 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions flask_jwt_extended/utils.py
Expand Up @@ -369,7 +369,7 @@ def unset_jwt_cookies(response, domain=None):

def unset_access_cookies(response, domain=None):
"""
Modifiy a Flask Response to delete the cookie containing a refresh JWT.
Modifiy a Flask Response to delete the cookie containing an access JWT.
Also deletes the corresponding CSRF cookie if applicable.

:param response:
Expand Down Expand Up @@ -407,7 +407,7 @@ def unset_access_cookies(response, domain=None):

def unset_refresh_cookies(response, domain=None):
"""
Modifiy a Flask Response to delete the cookie containing an access JWT.
Modifiy a Flask Response to delete the cookie containing a refresh JWT.
Also deletes the corresponding CSRF cookie if applicable.

:param response:
Expand Down