1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/aeneria_ynh.git synced 2024-09-03 18:06:15 +02:00

Fix ldap patch

This commit is contained in:
Simon Mellerin 2020-11-26 19:15:40 +01:00
parent 4fc57d4022
commit 91a48ba3bd

View file

@ -1,5 +1,5 @@
diff --git a/config/packages/security.yaml b/config/packages/security.yaml diff --git a/config/packages/security.yaml b/config/packages/security.yaml
index 9ce714b..eb38efd 100644 index 15ef608..aa9425b 100644
--- a/config/packages/security.yaml --- a/config/packages/security.yaml
+++ b/config/packages/security.yaml +++ b/config/packages/security.yaml
@@ -20,6 +20,10 @@ security: @@ -20,6 +20,10 @@ security:
@ -11,19 +11,16 @@ index 9ce714b..eb38efd 100644
+ service: yunohost.ldap + service: yunohost.ldap
+ dn_string: "uid={email},ou=users,dc=yunohost,dc=org" + dn_string: "uid={email},ou=users,dc=yunohost,dc=org"
logout: logout:
path: app_logout path: security.logout
target: app_login target: security.login
diff --git a/config/services.yaml b/config/services.yaml diff --git a/config/services.yaml b/config/services.yaml
index bd2a89b..af2f525 100644 index 533c244..0d15678 100644
--- a/config/services.yaml --- a/config/services.yaml
+++ b/config/services.yaml +++ b/config/services.yaml
@@ -22,4 +22,13 @@ services: @@ -70,3 +70,12 @@ services:
App\Twig\: Aeneria\EnedisDataConnectApi\Service\DataConnectServiceInterface:
resource: '../src/Twig' alias: Aeneria\EnedisDataConnectApi\Service\DataConnectService
- tags: ['twig.extension', 'container.hot_path']
\ No newline at end of file
+ tags: ['twig.extension', 'container.hot_path']
+ +
+ yunohost.ldap: + yunohost.ldap:
+ class: Symfony\Component\Ldap\Ldap + class: Symfony\Component\Ldap\Ldap