Skip to content

Commit 7cfc74a

Browse files
authored
Fix reversed docstrings for unset cookie funcs (#449)
1 parent 6ccbe3d commit 7cfc74a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flask_jwt_extended/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def unset_jwt_cookies(response, domain=None):
369369

370370
def unset_access_cookies(response, domain=None):
371371
"""
372-
Modifiy a Flask Response to delete the cookie containing a refresh JWT.
372+
Modifiy a Flask Response to delete the cookie containing an access JWT.
373373
Also deletes the corresponding CSRF cookie if applicable.
374374
375375
:param response:
@@ -407,7 +407,7 @@ def unset_access_cookies(response, domain=None):
407407

408408
def unset_refresh_cookies(response, domain=None):
409409
"""
410-
Modifiy a Flask Response to delete the cookie containing an access JWT.
410+
Modifiy a Flask Response to delete the cookie containing a refresh JWT.
411411
Also deletes the corresponding CSRF cookie if applicable.
412412
413413
:param response:

0 commit comments

Comments
 (0)