api: return HTTP error when not logged in on /api/user-info
This commit is contained in:
parent
2f991a6b02
commit
3b3291b6d3
2 changed files with 7 additions and 17 deletions
|
|
@ -41,7 +41,6 @@ class CurrentUser(BaseModel):
|
|||
|
||||
|
||||
class UserStatus(BaseModel):
|
||||
is_logged_in: bool
|
||||
is_authorized: bool
|
||||
guaranteed_session_until: Optional[datetime]
|
||||
username: Optional[str]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue