This commit is contained in:
Timothy Jaeryang Baek
2025-09-08 18:17:11 +04:00
parent 7693d0e2b0
commit fc11e4384f
3 changed files with 7 additions and 2 deletions
+4
View File
@@ -313,6 +313,10 @@ def get_current_user(
# Delete the token cookie
if request.cookies.get("token"):
response.delete_cookie("token")
if request.cookies.get("oauth_id_token"):
response.delete_cookie("oauth_id_token")
# Delete OAuth session if present
if request.cookies.get("oauth_session_id"):
response.delete_cookie("oauth_session_id")