(20250123) Listing permitted from disabled accounts, new activity not allowed.
This commit is contained in:
@@ -158,10 +158,7 @@ async def disable_auth_token(
|
||||
|
||||
# If the session token is invalid/expired:
|
||||
if kwargs.get("session_info") is None:
|
||||
return ResponseModel(
|
||||
status_code = StatusCodes.FAILED,
|
||||
http_code = HttpCodes.UNAUTHORIZED
|
||||
)
|
||||
return constants.API_RESPONSE_UNAUTHORIZED
|
||||
|
||||
# Get the user's info:
|
||||
user_info = CoreUserInfoModel(**kwargs.get("session_info"))
|
||||
|
||||
Reference in New Issue
Block a user