mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
2factor authentication via email
This commit is contained in:
parent
cf0ea8f113
commit
2db616b586
11 changed files with 394 additions and 111 deletions
|
@ -28,6 +28,7 @@ class AppKernel extends Kernel
|
|||
new Lexik\Bundle\FormFilterBundle\LexikFormFilterBundle(),
|
||||
new FOS\OAuthServerBundle\FOSOAuthServerBundle(),
|
||||
new Wallabag\UserBundle\WallabagUserBundle(),
|
||||
new Scheb\TwoFactorBundle\SchebTwoFactorBundle(),
|
||||
);
|
||||
|
||||
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
|
||||
|
|
|
@ -171,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue