main.py: blocklist instead of disable when user is disabled

This commit is contained in:
Antoine Martin 2024-03-01 22:19:23 -05:00
parent 25cd8222aa
commit bd2473caf0
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -61,7 +61,7 @@ for user_info in authentik_get_users():
if user_info['is_active'] == True: if user_info['is_active'] == True:
user_active = "enabled" user_active = "enabled"
else: else:
user_active = "disabled" user_active = "blocklisted"
try: try:
subscriber_info = listmonk_get_subscriber(user_info['username']) subscriber_info = listmonk_get_subscriber(user_info['username'])