mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-11 09:59:51 +08:00
fix(login): 增加返回user_id
This commit is contained in:
@@ -75,6 +75,7 @@ async def login_access_token(
|
||||
),
|
||||
token_type="bearer",
|
||||
super_user=user.is_superuser,
|
||||
user_id=user.id,
|
||||
user_name=user.name,
|
||||
avatar=user.avatar,
|
||||
level=level
|
||||
|
||||
Reference in New Issue
Block a user