Skip to content

Commit 7e9959b

Browse files
author
Martin
committed
afew fixes
1 parent ac76250 commit 7e9959b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

imageroot/actions/configure-module/10configure_environment_vars

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import agent
99
import secrets
1010
import base64
1111
import os
12+
from agent.ldapproxy import Ldapproxy
1213

1314
# Parse JSON input
1415
data = json.load(sys.stdin)
@@ -56,6 +57,7 @@ SEMAPHORE_TELEGRAM_TOKEN = data.get("SEMAPHORE_TELEGRAM_TOKEN", "")
5657
# ------------------------------------------------------------
5758
ldap_domain = data.get("ldap_domain", "")
5859
agent.set_env("LDAP_DOMAIN", ldap_domain)
60+
5961
agent.bind_user_domains([ldap_domain] if ldap_domain else [])
6062

6163
SEMAPHORE_LDAP_ENABLE = "True" if ldap_domain else "False"

0 commit comments

Comments
 (0)