File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ LDAP_PORT = <%= $taiga::back::ldap_port %>
5
5
6
6
# Full DN of the service account use to connect to LDAP server and search for login user's account entry
7
7
# If LDAP_BIND_DN is not specified, or is blank, then an anonymous bind is attempated
8
- LDAP_BIND_DN = <%= if $taiga::back::ldap_bind_dn { "'#{ $taiga::back::ldap_bind_dn}'" } else { 'None' } %>
9
- LDAP_BIND_PASSWORD = <%= if $taiga::back::ldap_bind_password { "'#{ $taiga::back::ldap_bind_password}'" } else { 'None' } %>
8
+ LDAP_BIND_DN = <%= if $taiga::back::ldap_bind_dn { String( $taiga::back::ldap_bind_dn, '%p') } else { 'None' } %>
9
+ LDAP_BIND_PASSWORD = <%= if $taiga::back::ldap_bind_password { String( $taiga::back::ldap_bind_password, '%p') } else { 'None' } %>
10
10
# Starting point within LDAP structure to search for login user
11
11
LDAP_SEARCH_BASE = '<%= $taiga::back::ldap_search_base %>'
12
12
# LDAP property used for searching, ie. login username needs to match value in sAMAccountName property in LDAP
13
13
LDAP_SEARCH_PROPERTY = '<%= $taiga::back::ldap_search_property %>'
14
- LDAP_SEARCH_SUFFIX = <%= if $taiga::back::ldap_search_suffix { "'#{ $taiga::back::ldap_search_suffix}'" } else { 'None' } %> # '@example.com'
14
+ LDAP_SEARCH_SUFFIX = <%= if $taiga::back::ldap_search_suffix { String( $taiga::back::ldap_search_suffix, '%p') } else { 'None' } %> # '@example.com'
15
15
16
16
# Names of LDAP properties on user account to get email and full name
17
17
LDAP_EMAIL_PROPERTY = '<%= $taiga::back::ldap_email_property %>'
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ SERVER_EMAIL = DEFAULT_FROM_EMAIL
30
30
# for enable email sending. EMAIL_HOST_USER should end by @domain.tld
31
31
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
32
32
EMAIL_USE_TLS = <%= String($taiga::back::email_use_tls, '%T') %>
33
- EMAIL_HOST = <%= if $taiga::back::email_host { "'#{ $taiga::back::email_host}'" } else { 'None' } %>
34
- EMAIL_HOST_USER = <%= if $taiga::back::email_user { "'#{ $taiga::back::email_user}'" } else { 'None' } %>
35
- EMAIL_HOST_PASSWORD = <%= if $taiga::back::email_password { "'#{ $taiga::back::email_password}'" } else { 'None' } %>
33
+ EMAIL_HOST = <%= if $taiga::back::email_host { String( $taiga::back::email_host, '%p') } else { 'None' } %>
34
+ EMAIL_HOST_USER = <%= if $taiga::back::email_user { String( $taiga::back::email_user, '%p') } else { 'None' } %>
35
+ EMAIL_HOST_PASSWORD = <%= if $taiga::back::email_password { String( $taiga::back::email_password, '%p') } else { 'None' } %>
36
36
EMAIL_PORT = <%= $taiga::back::email_port %>
37
37
38
38
<% if $taiga::back::change_notification_min_interval { -%>
You can’t perform that action at this time.
0 commit comments