mirror of
https://github.com/YunoHost-Apps/wallabag2_ynh.git
synced 2024-10-01 13:35:06 +02:00
Adapt existing patches to 2.3
This commit is contained in:
parent
993f47e081
commit
37402611f8
2 changed files with 14 additions and 10 deletions
|
@ -1,17 +1,20 @@
|
||||||
--- a/app/config/services.yml 2016-05-25 18:09:56.374914445 +0200
|
--- a/app/config/services.yml 2016-05-25 18:09:56.374914445 +0200
|
||||||
+++ b/app/config/services.yml 2016-05-25 18:07:38.775042951 +0200
|
+++ b/app/config/services.yml 2016-05-25 18:07:38.775042951 +0200
|
||||||
@@ -36,3 +36,7 @@
|
@@ -43,6 +43,10 @@
|
||||||
arguments: ["@session"]
|
|
||||||
tags:
|
tags:
|
||||||
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
|
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
|
||||||
+
|
|
||||||
+ yunohost.ldap:
|
+ yunohost.ldap:
|
||||||
+ class: Symfony\Component\Ldap\LdapClient
|
+ class: Symfony\Component\Ldap\LdapClient
|
||||||
+ arguments: ["localhost"]
|
+ arguments: ["localhost"]
|
||||||
|
+
|
||||||
|
craue_config_cache_provider:
|
||||||
|
class: Symfony\Component\Cache\Adapter\FilesystemAdapter
|
||||||
|
public: false
|
||||||
--- a/app/config/security.yml 2016-05-25 18:09:46.814645164 +0200
|
--- a/app/config/security.yml 2016-05-25 18:09:46.814645164 +0200
|
||||||
+++ b/app/config/security.yml 2016-05-25 18:07:38.775042951 +0200
|
+++ b/app/config/security.yml 2016-05-25 18:07:38.775042951 +0200
|
||||||
@@ -11,6 +11,14 @@
|
@@ -13,6 +13,14 @@
|
||||||
entity: { class: WallabagUserBundle:User, property: username }
|
property: username
|
||||||
fos_userbundle:
|
fos_userbundle:
|
||||||
id: fos_user.user_provider.username
|
id: fos_user.user_provider.username
|
||||||
+ yunohost_users:
|
+ yunohost_users:
|
||||||
|
@ -22,11 +25,11 @@
|
||||||
+ search_password:
|
+ search_password:
|
||||||
+ filter: (&(uid={username})(objectClass=posixAccount))
|
+ filter: (&(uid={username})(objectClass=posixAccount))
|
||||||
+ default_roles: ROLE_USER
|
+ default_roles: ROLE_USER
|
||||||
|
|
||||||
# the main part of the security, where you can set up firewalls
|
# the main part of the security, where you can set up firewalls
|
||||||
# for specific sections of your app
|
# for specific sections of your app
|
||||||
@@ -36,6 +44,9 @@
|
@@ -38,6 +46,9 @@
|
||||||
|
|
||||||
secured_area:
|
secured_area:
|
||||||
pattern: ^/
|
pattern: ^/
|
||||||
+ http_basic_ldap:
|
+ http_basic_ldap:
|
||||||
|
|
|
@ -15,12 +15,13 @@ diff --git a/app/config/services.yml b/app/config/services.yml
|
||||||
index 8a09fde..ee63e06 100644
|
index 8a09fde..ee63e06 100644
|
||||||
--- a/app/config/services.yml
|
--- a/app/config/services.yml
|
||||||
+++ b/app/config/services.yml
|
+++ b/app/config/services.yml
|
||||||
@@ -37,6 +37,9 @@ services:
|
@@ -43,6 +43,9 @@
|
||||||
tags:
|
tags:
|
||||||
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
|
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
|
||||||
|
|
||||||
+ yunohost.logout_success_handler:
|
+ yunohost.logout_success_handler:
|
||||||
+ class: Wallabag\YunoHostBundle\Security\LogoutSuccessHandler
|
+ class: Wallabag\YunoHostBundle\Security\LogoutSuccessHandler
|
||||||
|
+
|
||||||
+
|
+
|
||||||
yunohost.ldap:
|
yunohost.ldap:
|
||||||
class: Symfony\Component\Ldap\LdapClient
|
class: Symfony\Component\Ldap\LdapClient
|
||||||
|
|
Loading…
Add table
Reference in a new issue