diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-10-15 13:52:52 +0200 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-10-15 13:52:52 +0200 |
commit | 3d3ed955f11006a408c6596eb9151a0afb28e721 (patch) | |
tree | b5bb52afec86a76d39bcca1fb907f4b2d8d5ba82 /app/config/config.yml | |
parent | f6af634aecfa08cc925352610968a20f19b94bd8 (diff) | |
parent | e9b395ec4b27bdcc4151292836ecc602f21c57a4 (diff) | |
download | wallabag-3d3ed955f11006a408c6596eb9151a0afb28e721.tar.gz wallabag-3d3ed955f11006a408c6596eb9151a0afb28e721.tar.zst wallabag-3d3ed955f11006a408c6596eb9151a0afb28e721.zip |
Merge pull request #1484 from wallabag/v2-2factor-auth
2factor authentication via email
Diffstat (limited to 'app/config/config.yml')
-rw-r--r-- | app/config/config.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index 0d893ecf..956fdd07 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -45,6 +45,7 @@ twig: | |||
45 | export_mobi: %export_mobi% | 45 | export_mobi: %export_mobi% |
46 | export_pdf: %export_pdf% | 46 | export_pdf: %export_pdf% |
47 | version: %app.version% | 47 | version: %app.version% |
48 | twofactor_auth: %twofactor_auth% | ||
48 | warning_message: %warning_message% | 49 | warning_message: %warning_message% |
49 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" | 50 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" |
50 | flattr_url: "https://flattr.com/thing/1265480" | 51 | flattr_url: "https://flattr.com/thing/1265480" |
@@ -171,3 +172,15 @@ fos_oauth_server: | |||
171 | auth_code_class: Wallabag\ApiBundle\Entity\AuthCode | 172 | auth_code_class: Wallabag\ApiBundle\Entity\AuthCode |
172 | service: | 173 | service: |
173 | user_provider: fos_user.user_manager | 174 | user_provider: fos_user.user_manager |
175 | |||
176 | scheb_two_factor: | ||
177 | trusted_computer: | ||
178 | enabled: true | ||
179 | cookie_name: wllbg_trusted_computer | ||
180 | cookie_lifetime: 2592000 | ||
181 | |||
182 | email: | ||
183 | enabled: %twofactor_auth% | ||
184 | sender_email: %twofactor_sender% | ||
185 | digits: 6 | ||
186 | template: WallabagUserBundle:Authentication:form.html.twig | ||