Skip to content

Commit

Permalink
Fix reversed docstrings for unset cookie funcs (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
brenmous committed Sep 27, 2021
1 parent 6ccbe3d commit 7cfc74a
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 7cfc74a

Please sign in to comment.