diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-10-06 09:19:06 +0200 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-10-06 09:19:06 +0200 |
commit | 16dabc326311f084d671be188c7941bbb3c341c9 (patch) | |
tree | 3210a7688ea2bfa1bff5fd0422b52adf570edcdc /app/config/config.yml | |
parent | fdef5f460524215d806e244e5546865f4b8e01df (diff) | |
parent | 8263e71192989dc0fd28a41ac22f9c5b32eb11c4 (diff) | |
download | wallabag-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.yml | 18 |
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 | ||
113 | nelmio_api_doc: ~ | 113 | nelmio_api_doc: |
114 | sandbox: | ||
115 | enabled: false | ||
114 | 116 | ||
115 | nelmio_cors: | 117 | nelmio_cors: |
116 | defaults: | 118 | defaults: |
@@ -156,4 +158,16 @@ liip_theme: | |||
156 | fos_user: | 158 | fos_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 | |||
166 | fos_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 | ||