summaryrefslogtreecommitdiff
path: root/app/routes/me.py
diff options
context:
space:
mode:
authorl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-04-21 13:32:24 +0300
committerl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-04-21 13:32:24 +0300
commitf1842be3bfabe7850d33662da2da377676144c48 (patch)
tree95e1f5d6a72a2fc99847f0331907139b6b750dcb /app/routes/me.py
parent70b0706973d9d856ca9f136df23a6fbec0901aea (diff)
uv migration
Diffstat (limited to 'app/routes/me.py')
-rw-r--r--app/routes/me.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/routes/me.py b/app/routes/me.py
index 65368e3..6d28a80 100644
--- a/app/routes/me.py
+++ b/app/routes/me.py
@@ -29,7 +29,6 @@ async def get_current_user_from_cookie(
if not user or user.token_version != payload.get("token_version"):
return {"authenticated": False, "user": None}
- # Return authenticated user
return {
"authenticated": True,
"user": {
@@ -49,5 +48,4 @@ async def get_current_user_from_cookie(
async def read_current_user(
user_info: dict = Depends(get_current_user_from_cookie),
):
- # Directly return the dict to the frontend
return user_info