diff options
Diffstat (limited to 'modules/private/websites/tools/tools/yourls.nix')
-rw-r--r-- | modules/private/websites/tools/tools/yourls.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/private/websites/tools/tools/yourls.nix b/modules/private/websites/tools/tools/yourls.nix index 0a8e837..6280e78 100644 --- a/modules/private/websites/tools/tools/yourls.nix +++ b/modules/private/websites/tools/tools/yourls.nix | |||
@@ -28,10 +28,10 @@ rec { | |||
28 | define( 'YOURLS_DEBUG', false ); | 28 | define( 'YOURLS_DEBUG', false ); |
29 | define( 'YOURLS_URL_CONVERT', 36 ); | 29 | define( 'YOURLS_URL_CONVERT', 36 ); |
30 | $yourls_reserved_URL = array(); | 30 | $yourls_reserved_URL = array(); |
31 | define( 'LDAPAUTH_HOST', 'ldaps://ldap.immae.eu' ); | 31 | define( 'LDAPAUTH_HOST', 'ldaps://${env.ldap.host}' ); |
32 | define( 'LDAPAUTH_PORT', '636' ); | 32 | define( 'LDAPAUTH_PORT', '636' ); |
33 | define( 'LDAPAUTH_BASE', 'dc=immae,dc=eu' ); | 33 | define( 'LDAPAUTH_BASE', '${env.ldap.base}' ); |
34 | define( 'LDAPAUTH_SEARCH_USER', 'cn=yourls,ou=services,dc=immae,dc=eu' ); | 34 | define( 'LDAPAUTH_SEARCH_USER', '${env.ldap.dn}' ); |
35 | define( 'LDAPAUTH_SEARCH_PASS', '${env.ldap.password}' ); | 35 | define( 'LDAPAUTH_SEARCH_PASS', '${env.ldap.password}' ); |
36 | 36 | ||
37 | define( 'LDAPAUTH_GROUP_ATTR', 'memberof' ); | 37 | define( 'LDAPAUTH_GROUP_ATTR', 'memberof' ); |