main.py: blocklist instead of disable when user is disabled
This commit is contained in:
parent
25cd8222aa
commit
bd2473caf0
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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'])
|
||||||
|
|
Loading…
Reference in a new issue