(20250123) Listing permitted from disabled accounts, new activity not allowed.

This commit is contained in:
2025-01-23 12:54:52 +05:30
parent fe48b79c09
commit 44ff7719f3
14 changed files with 66 additions and 54 deletions
+1 -4
View File
@@ -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"))