File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ <h1 class="title">Module <code>supertokens_python.constants</code></h1>
42
42
from __future__ import annotations
43
43
44
44
SUPPORTED_CDI_VERSIONS = ["3.0"]
45
- VERSION = "0.23.0 "
45
+ VERSION = "0.23.1 "
46
46
TELEMETRY = "/telemetry"
47
47
USER_COUNT = "/users/count"
48
48
USER_DELETE = "/user/remove"
Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.session_request
467
467
468
468
return raise_unauthorised_exception(
469
469
"Refresh token not found. Are you sending the refresh token in the request?",
470
- clear_tokens=False ,
470
+ clear_tokens=True ,
471
471
response_mutators=response_mutators,
472
472
)
473
473
@@ -488,7 +488,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.session.session_request
488
488
# see https://github.com/supertokens/supertokens-node/issues/141
489
489
raise_unauthorised_exception(
490
490
"anti-csrf check failed. Please pass 'rid: \"session\"' header in the request.",
491
- clear_tokens=False ,
491
+ clear_tokens=True ,
492
492
)
493
493
disable_anti_csrf = True
494
494
@@ -957,7 +957,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
957
957
958
958
return raise_unauthorised_exception(
959
959
"Refresh token not found. Are you sending the refresh token in the request?",
960
- clear_tokens=False ,
960
+ clear_tokens=True ,
961
961
response_mutators=response_mutators,
962
962
)
963
963
@@ -978,7 +978,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
978
978
# see https://github.com/supertokens/supertokens-node/issues/141
979
979
raise_unauthorised_exception(
980
980
"anti-csrf check failed. Please pass 'rid: \"session\"' header in the request.",
981
- clear_tokens=False ,
981
+ clear_tokens=True ,
982
982
)
983
983
disable_anti_csrf = True
984
984
You can’t perform that action at this time.
0 commit comments