'__PASSWORD__', // 'username2' => 'password2', // You can have one or more 'login'=>'password' lines ]; /** URL shortening method: either 36 or 62 ** 36: generates all lowercase keywords (ie: 13jkm) ** 62: generates mixed case keywords (ie: 13jKm or 13JKm) ** For more information, see https://yourls.org/urlconvert */ define( 'YOURLS_URL_CONVERT', 36 ); /** Debug mode to output some internal information ** Default is false for live site. Enable when coding or before submitting a new issue */ define( 'YOURLS_DEBUG', false ); /** * Reserved keywords (so that generated URLs won't match them) * Define here negative, unwanted or potentially misleading keywords. */ $yourls_reserved_URL = [ 'porn', 'faggot', 'sex', 'nigger', 'fuck', 'cunt', 'dick', ]; /* ** Personal settings would go after here. */ define( 'LDAPAUTH_HOST', 'ldaps://ldap.127.0.0.1' ); // LDAP host name, IP or URL. You can use ldaps://host for LDAP with TLS define( 'LDAPAUTH_PORT', '389' ); // LDAP server port - often 389 or 636 for TLS (LDAPS) define( 'LDAPAUTH_BASE', 'ou=users,dc=yunohost,dc=org' ); // Base DN (location of users) define( 'LDAPAUTH_USERNAME_FIELD', 'cn'); // (optional) LDAP field name in which username is store define( 'LDAPAUTH_SEARCH_USER', 'cn=__APP__.main,dc=yunohost,dc=org' ); // (optional) Privileged user to search with define( 'LDAPAUTH_SEARCH_FILTER', '(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))' ); // Use %s as the place holder for the current user name