(20250123) Listing permitted from disabled accounts, new activity not allowed.
This commit is contained in:
@@ -182,8 +182,10 @@ async def list_mails(
|
||||
# Get the token ids from the token keys:
|
||||
auth_tokens = await current_app.mail_controller.get_tokens_from_keys(
|
||||
mongo_data_conn = current_app.data_mongo,
|
||||
token_keys = inbound_data.tokenKeys
|
||||
token_keys = inbound_data.tokenKeys,
|
||||
must_be_active = False
|
||||
)
|
||||
if not auth_tokens: return constants.API_RESPONSE_NO_AUTH_TOKEN
|
||||
token_ids = [t.authTokenId for t in auth_tokens]
|
||||
|
||||
# Build the additional filter:
|
||||
|
||||
Reference in New Issue
Block a user