aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/config.yml
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2015-10-06 09:19:06 +0200
committerJeremy Benoist <j0k3r@users.noreply.github.com>2015-10-06 09:19:06 +0200
commit16dabc326311f084d671be188c7941bbb3c341c9 (patch)
tree3210a7688ea2bfa1bff5fd0422b52adf570edcdc /app/config/config.yml
parentfdef5f460524215d806e244e5546865f4b8e01df (diff)
parent8263e71192989dc0fd28a41ac22f9c5b32eb11c4 (diff)
downloadwallabag-16dabc326311f084d671be188c7941bbb3c341c9.tar.gz
wallabag-16dabc326311f084d671be188c7941bbb3c341c9.tar.zst
wallabag-16dabc326311f084d671be188c7941bbb3c341c9.zip
Merge pull request #1436 from wallabag/v2-register
Public registration & oAuth2 \o/
Diffstat (limited to 'app/config/config.yml')
-rw-r--r--app/config/config.yml18
1 files changed, 16 insertions, 2 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index f623ab23..0d893ecf 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -110,7 +110,9 @@ fos_rest:
110 routing_loader: 110 routing_loader:
111 default_format: json 111 default_format: json
112 112
113nelmio_api_doc: ~ 113nelmio_api_doc:
114 sandbox:
115 enabled: false
114 116
115nelmio_cors: 117nelmio_cors:
116 defaults: 118 defaults:
@@ -156,4 +158,16 @@ liip_theme:
156fos_user: 158fos_user:
157 db_driver: orm 159 db_driver: orm
158 firewall_name: main 160 firewall_name: main
159 user_class: Wallabag\CoreBundle\Entity\User 161 user_class: Wallabag\UserBundle\Entity\User
162 registration:
163 confirmation:
164 enabled: true
165
166fos_oauth_server:
167 db_driver: orm
168 client_class: Wallabag\ApiBundle\Entity\Client
169 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
170 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
171 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
172 service:
173 user_provider: fos_user.user_manager