]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/config.yml
* public registration
[github/wallabag/wallabag.git] / app / config / config.yml
index f623ab237ca9de664b9045648a4c1b7627226264..adf68d6ca9cd360fb1664fe612c4b2f65ec47464 100644 (file)
@@ -157,3 +157,17 @@ fos_user:
     db_driver: orm
     firewall_name: main
     user_class: Wallabag\CoreBundle\Entity\User
+    registration:
+        form:
+            type: wallabag_user_registration
+        confirmation:
+            enabled: true
+
+fos_oauth_server:
+    db_driver:           orm
+    client_class:        Wallabag\ApiBundle\Entity\Client
+    access_token_class:  Wallabag\ApiBundle\Entity\AccessToken
+    refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
+    auth_code_class:     Wallabag\ApiBundle\Entity\AuthCode
+    service:
+        user_provider: fos_user.user_manager