feat(security): add resource token authentication using HttpOnly Cookie

This commit is contained in:
InfinityPacer
2024-10-10 00:45:26 +08:00
parent e31df15b5e
commit 871f8d3529
6 changed files with 145 additions and 42 deletions
+1 -2
View File
@@ -77,8 +77,7 @@ async def login_access_token(
super_user=user.is_superuser,
user_name=user.name,
avatar=user.avatar,
level=level,
permissions=user.permissions or {}
level=level
)