]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/config.yml
Add backup codes
[github/wallabag/wallabag.git] / app / config / config.yml
index ee0f0a38a8caf73f359ded5b914ce566818614ad..2d8f9bf01eae24a7c1e7dd243f9e42179bd11e73 100644 (file)
@@ -54,7 +54,6 @@ doctrine:
         charset: "%database_charset%"
         path: "%database_path%"
         unix_socket: "%database_socket%"
-        server_version: 5.6
 
     orm:
         auto_generate_proxy_classes: "%kernel.debug%"
@@ -199,10 +198,17 @@ fos_oauth_server:
             refresh_token_lifetime: 1209600
 
 scheb_two_factor:
-    trusted_computer:
+    trusted_device:
         enabled: true
         cookie_name: wllbg_trusted_computer
-        cookie_lifetime: 2592000
+        lifetime: 2592000
+
+    backup_codes:
+        enabled: "%twofactor_auth%"
+
+    google:
+        enabled: "%twofactor_auth%"
+        template: WallabagUserBundle:Authentication:form.html.twig
 
     email:
         enabled: "%twofactor_auth%"