]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/config.yml
2factor authentication via email
[github/wallabag/wallabag.git] / app / config / config.yml
index a4d18c6d894b0e45ee9112d949a3cbaa2c9defdd..b2699c83aa5512077d9eddf21a05370bcf89bb73 100644 (file)
@@ -160,8 +160,6 @@ fos_user:
     firewall_name: main
     user_class: Wallabag\UserBundle\Entity\User
     registration:
-        form:
-            type: wallabag_user_registration
         confirmation:
             enabled: true
 
@@ -173,3 +171,16 @@ fos_oauth_server:
     auth_code_class:     Wallabag\ApiBundle\Entity\AuthCode
     service:
         user_provider: fos_user.user_manager
+
+scheb_two_factor:
+
+    trusted_computer:
+        enabled: true
+        cookie_name: wllbg_trusted_computer
+        cookie_lifetime: 5184000
+
+    email:
+        enabled: true
+        sender_email: no-reply@wallabag.org
+        digits: 6
+        template: WallabagUserBundle:Authentication:form.html.twig